public function PageDisplayVariantSelectionEvent::setPluginConfiguration in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Render/PageDisplayVariantSelectionEvent.php \Drupal\Core\Render\PageDisplayVariantSelectionEvent::setPluginConfiguration()
- 9 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\RenderCode
public function setPluginConfiguration(array $configuration) {
$this->pluginConfiguration = $configuration;
return $this;
}