function PageDisplayVariantSelectionEvent::getPluginId

Same name in other branches
  1. 9 core/lib/Drupal/Core/Render/PageDisplayVariantSelectionEvent.php \Drupal\Core\Render\PageDisplayVariantSelectionEvent::getPluginId()
  2. 8.9.x core/lib/Drupal/Core/Render/PageDisplayVariantSelectionEvent.php \Drupal\Core\Render\PageDisplayVariantSelectionEvent::getPluginId()
  3. 10 core/lib/Drupal/Core/Render/PageDisplayVariantSelectionEvent.php \Drupal\Core\Render\PageDisplayVariantSelectionEvent::getPluginId()

The selected page display variant plugin ID.

Return value

string

File

core/lib/Drupal/Core/Render/PageDisplayVariantSelectionEvent.php, line 85

Class

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

Namespace

Drupal\Core\Render

Code

public function getPluginId() {
    return $this->pluginId;
}

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