You are here

public function VariantBase::getConfiguration in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Display/VariantBase.php \Drupal\Core\Display\VariantBase::getConfiguration()

Gets this plugin's configuration.

Return value

array An array of this plugin's configuration.

Overrides ConfigurablePluginInterface::getConfiguration

1 call to VariantBase::getConfiguration()
TestDisplayVariant::build in core/modules/system/tests/modules/display_variant_test/src/Plugin/DisplayVariant/TestDisplayVariant.php
Builds and returns the renderable array for the display variant.

File

core/lib/Drupal/Core/Display/VariantBase.php, line 76
Contains \Drupal\Core\Display\VariantBase.

Class

VariantBase
Provides a base class for DisplayVariant plugins.

Namespace

Drupal\Core\Display

Code

public function getConfiguration() {
  return array(
    'id' => $this
      ->getPluginId(),
  ) + $this->configuration;
}