ExecutableManagerInterface
interface ExecutableManagerInterface implements PluginManagerInterface (View source)
An interface for managers of executable plugins.
Methods
mixed
getDefinition(string $plugin_id, bool $exception_on_invalid = TRUE)
Gets a specific plugin definition.
from
DiscoveryInterface
bool
hasDefinition(string $plugin_id)
Indicates if a specific plugin definition exists.
from
DiscoveryInterface
object
createInstance(string $plugin_id, array $configuration = [])
Creates a pre-configured instance of a plugin.
from
FactoryInterface
object|false
getInstance(array $options)
Gets a preconfigured instance of a plugin.
from
MapperInterface
mixed
Details
mixed
getDefinition(string $plugin_id, bool $exception_on_invalid = TRUE)
Gets a specific plugin definition.
array
getDefinitions()
Gets the definition of all plugins for this type.
bool
hasDefinition(string $plugin_id)
Indicates if a specific plugin definition exists.
object
createInstance(string $plugin_id, array $configuration = [])
Creates a pre-configured instance of a plugin.
object|false
getInstance(array $options)
Gets a preconfigured instance of a plugin.
mixed
execute(ExecutableInterface $plugin)
Executes an executable plugin.