You are here

interface EnableAwarePluginManagerInterface in Markdown 8.2

Interface for plugin managers that are "enable" aware.

@method \Drupal\markdown\Plugin\Markdown\EnabledPluginInterface[] all(array $configuration = [], $includeFallback = FALSE) : array @method \Drupal\markdown\Plugin\Markdown\EnabledPluginInterface createInstance($plugin_id, array $configuration = []) @method \Drupal\markdown\Plugin\Markdown\EnabledPluginInterface[] installed(array $configuration = []) : array

@todo Move upstream to https://www.drupal.org/project/installable_plugins.

Hierarchy

Expanded class hierarchy of EnableAwarePluginManagerInterface

All classes that implement EnableAwarePluginManagerInterface

File

src/PluginManager/EnableAwarePluginManagerInterface.php, line 14

Namespace

Drupal\markdown\PluginManager
View source
interface EnableAwarePluginManagerInterface extends InstallablePluginManagerInterface {

  /**
   * Retrieves all enabled plugins.
   *
   * @param array $configuration
   *   The configuration used to create plugin instances.
   *
   * @return \Drupal\markdown\Plugin\Markdown\EnabledPluginInterface[]
   *   An array of enabled plugins instances, keyed by plugin identifier.
   */
  public function enabled(array $configuration = []);

}

Members

Namesort descending Modifiers Type Description Overrides
CacheableDependencyInterface::getCacheContexts public function The cache contexts associated with this object. 34
CacheableDependencyInterface::getCacheMaxAge public function The maximum age for which this object may be cached. 34
CachedDiscoveryInterface::clearCachedDefinitions public function Clears static and persistent plugin definition caches. 2
CachedDiscoveryInterface::useCaches public function Disable the use of caches. 2
ContainerInjectionInterface::create public static function Instantiates a new instance of this class. 70
DiscoveryInterface::getDefinition public function Gets a specific plugin definition. 4
DiscoveryInterface::hasDefinition public function Indicates if a specific plugin definition exists. 2
EnableAwarePluginManagerInterface::enabled public function Retrieves all enabled plugins.
FallbackPluginManagerInterface::getFallbackPluginId public function Gets a fallback id for a missing plugin. 5
InstallablePluginManagerInterface::all public function Retrieves all registered plugins. 1
InstallablePluginManagerInterface::createInstance public function Creates a pre-configured instance of a plugin. Overrides FactoryInterface::createInstance
InstallablePluginManagerInterface::firstInstalledPluginId public function Retrieves the first installed plugin identifier. 1
InstallablePluginManagerInterface::getCacheKey public function Retrieves the cache key to use. 1
InstallablePluginManagerInterface::getCacheTags public function Retrieves all cache tags that the plugin manager may implement. Overrides CacheableDependencyInterface::getCacheTags
InstallablePluginManagerInterface::getDefinitionByClassName public function Retrieves a definition by class name. 1
InstallablePluginManagerInterface::getDefinitionByLibraryId public function Retrieves a definition by library identifier. 1
InstallablePluginManagerInterface::getDefinitions public function Gets the definition of all plugins for this type. Overrides DiscoveryInterface::getDefinitions
InstallablePluginManagerInterface::installed public function Retrieves all installed plugins. 1
InstallablePluginManagerInterface::installedDefinitions public function Retrieves installed plugin definitions. 1
MapperInterface::getInstance public function Gets a preconfigured instance of a plugin. 4