You are here

public function DisplayPluginInterface::getPlugin in Drupal 9

Same name and namespace in other branches
  1. 8 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);