VariantBase::getConfiguration

public VariantBase::getConfiguration()

Gets this plugin's configuration.

Return value

array An array of this plugin's configuration.

Overrides ConfigurablePluginInterface::getConfiguration

File

core/lib/Drupal/Core/Display/VariantBase.php, line 71

Class

VariantBase
Provides a base class for DisplayVariant plugins.

Namespace

Drupal\Core\Display

Code

public function getConfiguration() {
  return array(
    'id' => $this->getPluginId(),
  ) + $this->configuration;
}
doc_Drupal
2016-10-29 09:53:27
Comments
Leave a Comment

Please login to continue.