function DisplayPluginInterface::getPlugin

Same name in other branches
  1. 8.9.x core/modules/views/src/Plugin/views/display/DisplayPluginInterface.php \Drupal\views\Plugin\views\display\DisplayPluginInterface::getPlugin()
  2. 10 core/modules/views/src/Plugin/views/display/DisplayPluginInterface.php \Drupal\views\Plugin\views\display\DisplayPluginInterface::getPlugin()
  3. 11.x core/modules/views/src/Plugin/views/display/DisplayPluginInterface.php \Drupal\views\Plugin\views\display\DisplayPluginInterface::getPlugin()

Get the instance of a plugin, for example style or row.

Parameters

string $type: The type of the plugin.

Return value

\Drupal\views\Plugin\views\ViewsPluginInterface

1 method overrides DisplayPluginInterface::getPlugin()
DisplayPluginBase::getPlugin in core/modules/views/src/Plugin/views/display/DisplayPluginBase.php
Get the instance of a plugin, for example style or row.

File

core/modules/views/src/Plugin/views/display/DisplayPluginInterface.php, line 275

Class

DisplayPluginInterface
Provides an interface for Views display plugins.

Namespace

Drupal\views\Plugin\views\display

Code

public function getPlugin($type);

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