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