function PageDisplayVariantSelectionEvent::setPluginConfiguration

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Render/PageDisplayVariantSelectionEvent.php \Drupal\Core\Render\PageDisplayVariantSelectionEvent::setPluginConfiguration()
  2. 10 core/lib/Drupal/Core/Render/PageDisplayVariantSelectionEvent.php \Drupal\Core\Render\PageDisplayVariantSelectionEvent::setPluginConfiguration()
  3. 11.x 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;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.