public function SvgIconBuilder::setPadding in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/Layout/Icon/SvgIconBuilder.php \Drupal\Core\Layout\Icon\SvgIconBuilder::setPadding()
Sets the padding.
Parameters
int $padding: The padding between regions.
Return value
$this
Overrides IconBuilderInterface::setPadding
File
- core/
lib/ Drupal/ Core/ Layout/ Icon/ SvgIconBuilder.php, line 277
Class
- SvgIconBuilder
- Builds SVG layout icons.
Namespace
Drupal\Core\Layout\IconCode
public function setPadding($padding) {
$this->padding = $padding;
return $this;
}