You are here

public function PageDisplayVariantSelectionEvent::setPluginConfiguration in Drupal 9

Same name and namespace in other branches
  1. 8 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 97

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;
}