HelpTopicPluginManagerInterface
interface HelpTopicPluginManagerInterface implements PluginManagerInterface (View source)
| internal | Help Topics is currently experimental and should only be leveraged by experimental modules and development releases of contributed modules. See https://www.drupal.org/core/experimental for more information. |
Defines an interface for managing help topics and storing their definitions.
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
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.