You are here

public function PluginBase::getProvider in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/views/src/Plugin/views/PluginBase.php \Drupal\views\Plugin\views\PluginBase::getProvider()

Returns the plugin provider.

Return value

string

Overrides ViewsPluginInterface::getProvider

File

core/modules/views/src/Plugin/views/PluginBase.php, line 527

Class

PluginBase
Base class for any views plugin types.

Namespace

Drupal\views\Plugin\views

Code

public function getProvider() {
  $definition = $this
    ->getPluginDefinition();
  return $definition['provider'];
}