You are here

public function StyleBase::getLabel in Styles API 8

Get the base path for all resources.

Return value

string The full base to all resources.

File

src/Plugin/Style/StyleBase.php, line 41
Contains \Drupal\styles_api\Plugin\Layout\StyleBase.

Class

StyleBase
Provides a base class for Styles plugins.

Namespace

Drupal\styles_api\Plugin\Style

Code

public function getLabel() {
  return isset($this->pluginDefinition['label']) && $this->pluginDefinition['label'] ? $this->pluginDefinition['label'] : FALSE;
}