PluginDefinition
class PluginDefinition implements PluginDefinitionInterface (View source)
Provides object-based plugin definitions.
Properties
| protected string | $id | The plugin ID. |
|
| protected string | $class | A fully qualified class name. |
|
| protected string | $provider | The plugin provider. |
Methods
string
id()
Gets the unique identifier of the plugin.
setClass(string $class)
Sets the class.
string
getClass()
Gets the class.
string
getProvider()
Gets the plugin provider.
Details
string
id()
Gets the unique identifier of the plugin.
PluginDefinitionInterface
setClass(string $class)
Sets the class.
string
getClass()
Gets the class.
string
getProvider()
Gets the plugin provider.
The provider is the name of the module that provides the plugin, or "core', or "component".