public function LayoutBase::getIconFilename in Layout Plugin (obsolete, use core's Layout Discovery) 8
Gets the path to the preview image.
This can optionally be used in the user interface to show the layout of regions visually.
Return value
string|NULL The path to preview image file.
File
- src/
Plugin/ Layout/ LayoutBase.php, line 91
Class
- LayoutBase
- Provides a base class for Layout plugins.
Namespace
Drupal\layout_plugin\Plugin\LayoutCode
public function getIconFilename() {
return isset($this->pluginDefinition['icon']) ? $this->pluginDefinition['icon'] : NULL;
}