ConfigurablePluginInterface deprecated
interface ConfigurablePluginInterface implements DependentPluginInterface (View source)
deprecated
Provides an interface for a configurable plugin.
Methods
Calculates dependencies for the configured plugin.
Gets this plugin's configuration.
Sets the configuration for this plugin instance.
Gets default configuration for this plugin.
Details
array
calculateDependencies()
Calculates dependencies for the configured plugin.
Dependencies are saved in the plugin's configuration entity and are used to determine configuration synchronization order. For example, if the plugin integrates with specific user roles, this method should return an array of dependencies listing the specified roles.
array
getConfiguration()
Gets this plugin's configuration.
setConfiguration(array $configuration)
Sets the configuration for this plugin instance.
array
defaultConfiguration()
Gets default configuration for this plugin.