public function LayoutDefinition::getIconMap in Drupal 9
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Layout/LayoutDefinition.php \Drupal\Core\Layout\LayoutDefinition::getIconMap()
Gets the icon map for this layout definition.
This should not be used if an icon path is specified. See ::getIcon().
Return value
string[][]|null The icon map, if it exists.
1 call to LayoutDefinition::getIconMap()
- LayoutDefinition::getIcon in core/
lib/ Drupal/ Core/ Layout/ LayoutDefinition.php - Builds a render array for an icon representing the layout.
File
- core/
lib/ Drupal/ Core/ Layout/ LayoutDefinition.php, line 404
Class
- LayoutDefinition
- Provides an implementation of a layout definition and its metadata.
Namespace
Drupal\Core\LayoutCode
public function getIconMap() {
return $this->icon_map;
}