You are here

public function PluginBase::getProvider in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 520
Contains \Drupal\views\Plugin\views\PluginBase.

Class

PluginBase
Base class for any views plugin types.

Namespace

Drupal\views\Plugin\views

Code

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