public function PluginDefinitionInterface::setProvider in Plugin 8.2
Sets the plugin provider.
The provider is the name of the module that provides the plugin, or "core', or "component".
Parameters
string $provider: The provider.
Return value
$this
2 methods override PluginDefinitionInterface::setProvider()
- ArrayPluginDefinitionDecorator::setProvider in src/
PluginDefinition/ ArrayPluginDefinitionDecorator.php - Sets the plugin provider.
- PluginDefinition::setProvider in src/
PluginDefinition/ PluginDefinition.php - Sets the plugin provider.
File
- src/
PluginDefinition/ PluginDefinitionInterface.php, line 43
Class
- PluginDefinitionInterface
- Defines a plugin definition.
Namespace
Drupal\plugin\PluginDefinitionCode
public function setProvider($provider);