public function PluginDefinition::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
Overrides PluginDefinitionInterface::setProvider
File
- src/
PluginDefinition/ PluginDefinition.php, line 73
Class
- PluginDefinition
- Provides a plugin definition.
Namespace
Drupal\plugin\PluginDefinitionCode
public function setProvider($provider) {
$this->provider = $provider;
return $this;
}