public function IconBuilderInterface::setPadding in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Layout/Icon/IconBuilderInterface.php \Drupal\Core\Layout\Icon\IconBuilderInterface::setPadding()
- 9 core/lib/Drupal/Core/Layout/Icon/IconBuilderInterface.php \Drupal\Core\Layout\Icon\IconBuilderInterface::setPadding()
Sets the padding.
Parameters
int $padding: The padding between regions.
Return value
$this
1 method overrides IconBuilderInterface::setPadding()
- SvgIconBuilder::setPadding in core/
lib/ Drupal/ Core/ Layout/ Icon/ SvgIconBuilder.php - Sets the padding.
File
- core/
lib/ Drupal/ Core/ Layout/ Icon/ IconBuilderInterface.php, line 87
Class
- IconBuilderInterface
- Provides an interface for building layout icons.
Namespace
Drupal\Core\Layout\IconCode
public function setPadding($padding);