You are here

public function LayoutDefinition::getIconMap in Drupal 8

Same name and namespace in other branches
  1. 9 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 391

Class

LayoutDefinition
Provides an implementation of a layout definition and its metadata.

Namespace

Drupal\Core\Layout

Code

public function getIconMap() {
  return $this->icon_map;
}