Same name and namespace in other branches
  1. 8.9.x core/lib/Drupal/Component/Plugin/Definition/PluginDefinition.php \Drupal\Component\Plugin\Definition\PluginDefinition::getProvider()
  2. 9 core/lib/Drupal/Component/Plugin/Definition/PluginDefinition.php \Drupal\Component\Plugin\Definition\PluginDefinition::getProvider()

Gets the plugin provider.

The provider is the name of the module that provides the plugin, or "core', or "component".

Return value

string The provider.

Overrides PluginDefinitionInterface::getProvider

1 call to PluginDefinition::getProvider()
EntityType::getBundleConfigDependency in core/lib/Drupal/Core/Entity/EntityType.php
Gets the config dependency info for this entity, if any exists.

File

core/lib/Drupal/Component/Plugin/Definition/PluginDefinition.php, line 57

Class

PluginDefinition

Namespace

Drupal\Component\Plugin\Definition

Code

public function getProvider() {
  return $this->provider;
}