diff --git a/core/modules/views/src/Plugin/views/display/DisplayPluginBase.php b/core/modules/views/src/Plugin/views/display/DisplayPluginBase.php index 94e9200..28d2568 100644 --- a/core/modules/views/src/Plugin/views/display/DisplayPluginBase.php +++ b/core/modules/views/src/Plugin/views/display/DisplayPluginBase.php @@ -2641,6 +2641,18 @@ public function getExtenders() { } /** + * Returns a specific display extender. + * + * @param string $id + * The id of the requested extender. + * + * @return \Drupal\views\Plugin\views\display_extender\DisplayExtenderPluginBase[$id]. + */ + public function getExtender($id) { + return isset($this->extenders[$id]) ? $this->extenders[$id] : NULL; + } + + /** * Returns the available rendering strategies for language-aware entities. * * @return array