function LayoutDefinition::getIconMap
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Layout/LayoutDefinition.php \Drupal\Core\Layout\LayoutDefinition::getIconMap()
- 10 core/lib/Drupal/Core/Layout/LayoutDefinition.php \Drupal\Core\Layout\LayoutDefinition::getIconMap()
- 11.x 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;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.