You are here

public function PageDisplayVariantSelectionEvent::setPluginConfiguration in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Render/PageDisplayVariantSelectionEvent.php \Drupal\Core\Render\PageDisplayVariantSelectionEvent::setPluginConfiguration()

Set the configuration for the selected page display variant.

Parameters

array $configuration: The configuration for the selected page display variant.

Return value

$this

File

core/lib/Drupal/Core/Render/PageDisplayVariantSelectionEvent.php, line 102
Contains \Drupal\Core\Render\PageDisplayVariantSelectionEvent.

Class

PageDisplayVariantSelectionEvent
Event fired when rendering main content, to select a page display variant.

Namespace

Drupal\Core\Render

Code

public function setPluginConfiguration(array $configuration) {
  $this->pluginConfiguration = $configuration;
  return $this;
}