public function ArrayPluginDefinitionDecorator::getProvider in Plugin 8.2
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
File
- src/
PluginDefinition/ ArrayPluginDefinitionDecorator.php, line 183
Class
- ArrayPluginDefinitionDecorator
- Provides a plugin definition based on an array.
Namespace
Drupal\plugin\PluginDefinitionCode
public function getProvider() {
return isset($this->arrayDefinition['provider']) ? $this->arrayDefinition['provider'] : NULL;
}