public function StyleBase::getIconFilename in Styles API 8
Get the full path to the icon image.
This can optionally be used in the user interface to show the layout of regions visually.
Return value
string The full path to preview image file.
File
- src/
Plugin/ Style/ StyleBase.php, line 54 - Contains \Drupal\styles_api\Plugin\Layout\StyleBase.
Class
- StyleBase
- Provides a base class for Styles plugins.
Namespace
Drupal\styles_api\Plugin\StyleCode
public function getIconFilename() {
return isset($this->pluginDefinition['icon']) && $this->pluginDefinition['icon'] ? $this->pluginDefinition['icon'] : FALSE;
}