You are here

public function StyleBase::getConfiguration in Styles API 8

Get the configuration for theme template.

Return value

string Theme function name.

Overrides ConfigurablePluginInterface::getConfiguration

File

src/Plugin/Style/StyleBase.php, line 64
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 getConfiguration() {
  return isset($this->pluginDefinition['configuration']) && $this->pluginDefinition['configuration'] ? $this->pluginDefinition['configuration'] : FALSE;
}