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
- interface \Drupal\Core\Cache\CacheableDependencyInterface; interface \Drupal\Component\Plugin\Discovery\CachedDiscoveryInterface; interface \Drupal\Core\DependencyInjection\ContainerInjectionInterface; interface \Drupal\Component\Plugin\PluginManagerInterface; interface \Drupal\Component\Plugin\FallbackPluginManagerInterface
- interface \Drupal\markdown\PluginManager\InstallablePluginManagerInterface extends \Symfony\Component\DependencyInjection\ContainerAwareInterface
- interface \Drupal\markdown\PluginManager\EnableAwarePluginManagerInterface
- interface \Drupal\markdown\PluginManager\InstallablePluginManagerInterface extends \Symfony\Component\DependencyInjection\ContainerAwareInterface
Expanded class hierarchy of EnableAwarePluginManagerInterface
All classes that implement EnableAwarePluginManagerInterface
File
- src/
PluginManager/ EnableAwarePluginManagerInterface.php, line 14
Namespace
Drupal\markdown\PluginManagerView 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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
CacheableDependencyInterface:: |
public | function | The cache contexts associated with this object. | 34 |
CacheableDependencyInterface:: |
public | function | The maximum age for which this object may be cached. | 34 |
CachedDiscoveryInterface:: |
public | function | Clears static and persistent plugin definition caches. | 2 |
CachedDiscoveryInterface:: |
public | function | Disable the use of caches. | 2 |
ContainerInjectionInterface:: |
public static | function | Instantiates a new instance of this class. | 70 |
DiscoveryInterface:: |
public | function | Gets a specific plugin definition. | 4 |
DiscoveryInterface:: |
public | function | Indicates if a specific plugin definition exists. | 2 |
EnableAwarePluginManagerInterface:: |
public | function | Retrieves all enabled plugins. | |
FallbackPluginManagerInterface:: |
public | function | Gets a fallback id for a missing plugin. | 5 |
InstallablePluginManagerInterface:: |
public | function | Retrieves all registered plugins. | 1 |
InstallablePluginManagerInterface:: |
public | function |
Creates a pre-configured instance of a plugin. Overrides FactoryInterface:: |
|
InstallablePluginManagerInterface:: |
public | function | Retrieves the first installed plugin identifier. | 1 |
InstallablePluginManagerInterface:: |
public | function | Retrieves the cache key to use. | 1 |
InstallablePluginManagerInterface:: |
public | function |
Retrieves all cache tags that the plugin manager may implement. Overrides CacheableDependencyInterface:: |
|
InstallablePluginManagerInterface:: |
public | function | Retrieves a definition by class name. | 1 |
InstallablePluginManagerInterface:: |
public | function | Retrieves a definition by library identifier. | 1 |
InstallablePluginManagerInterface:: |
public | function |
Gets the definition of all plugins for this type. Overrides DiscoveryInterface:: |
|
InstallablePluginManagerInterface:: |
public | function | Retrieves all installed plugins. | 1 |
InstallablePluginManagerInterface:: |
public | function | Retrieves installed plugin definitions. | 1 |
MapperInterface:: |
public | function | Gets a preconfigured instance of a plugin. | 4 |