function SvgIconBuilder::setWidth
Same name in other branches
- 9 core/lib/Drupal/Core/Layout/Icon/SvgIconBuilder.php \Drupal\Core\Layout\Icon\SvgIconBuilder::setWidth()
- 10 core/lib/Drupal/Core/Layout/Icon/SvgIconBuilder.php \Drupal\Core\Layout\Icon\SvgIconBuilder::setWidth()
- 11.x core/lib/Drupal/Core/Layout/Icon/SvgIconBuilder.php \Drupal\Core\Layout\Icon\SvgIconBuilder::setWidth()
Overrides IconBuilderInterface::setWidth
File
-
core/
lib/ Drupal/ Core/ Layout/ Icon/ SvgIconBuilder.php, line 261
Class
- SvgIconBuilder
- Builds SVG layout icons.
Namespace
Drupal\Core\Layout\IconCode
public function setWidth($width) {
$this->width = $width;
return $this;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.