public function LayoutBase::getBasePath in Layout Plugin (obsolete, use core's Layout Discovery) 8
Gets the path to resources like icon or template.
Return value
string|NULL The path relative to the Drupal root.
File
- src/
Plugin/ Layout/ LayoutBase.php, line 78
Class
- LayoutBase
- Provides a base class for Layout plugins.
Namespace
Drupal\layout_plugin\Plugin\LayoutCode
public function getBasePath() {
return isset($this->pluginDefinition['path']) ? $this->pluginDefinition['path'] : NULL;
}