function SvgIconBuilder::setLabel
Sets the label.
Parameters
string $label: The label of the layout.
Return value
$this
Overrides IconBuilderInterface::setLabel
File
-
core/
lib/ Drupal/ Core/ Layout/ Icon/ SvgIconBuilder.php, line 253
Class
- SvgIconBuilder
- Builds SVG layout icons.
Namespace
Drupal\Core\Layout\IconCode
public function setLabel($label) {
$this->label = $label;
return $this;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.