You are here

public function PluginDefinition::getProvider in Drupal 10

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

Class

PluginDefinition
Provides object-based plugin definitions.

Namespace

Drupal\Component\Plugin\Definition

Code

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