interface MarkdownExtensionManagerInterface in Markdown 3.0.x
Interface MarkdownExtensionsInterface.
@method \Drupal\markdown\Plugin\Markdown\Extension\MarkdownExtensionInterface[] all($includeBroken = FALSE) : array @method \Drupal\markdown\Plugin\Markdown\Extension\MarkdownExtensionInterface[] getInstalled(array $configuration = []) : array @method \Drupal\markdown\Plugin\Markdown\Extension\MarkdownExtensionInterface createInstance($plugin_id, array $configuration = [])
Hierarchy
- interface \Drupal\Core\DependencyInjection\ContainerInjectionInterface; interface \Drupal\Component\Plugin\PluginManagerInterface; interface \Drupal\Component\Plugin\FallbackPluginManagerInterface
- interface \Drupal\markdown\MarkdownPluginManagerInterface extends \Symfony\Component\DependencyInjection\ContainerAwareInterface
- interface \Drupal\markdown\MarkdownExtensionManagerInterface
- interface \Drupal\markdown\MarkdownPluginManagerInterface extends \Symfony\Component\DependencyInjection\ContainerAwareInterface
Expanded class hierarchy of MarkdownExtensionManagerInterface
All classes that implement MarkdownExtensionManagerInterface
1 file declares its use of MarkdownExtensionManagerInterface
- ExtensibleParser.php in src/
Plugin/ Markdown/ ExtensibleParser.php
File
- src/
MarkdownExtensionManagerInterface.php, line 16
Namespace
Drupal\markdownView source
interface MarkdownExtensionManagerInterface extends MarkdownPluginManagerInterface {
/**
* Retrieves MarkdownExtension plugins.
*
* @param string $parser
* Optional. A specific parser's extensions to retrieve. If not set, all
* available extensions are returned, regardless of the parser.
* @param bool $enabled
* Flag indicating whether to filter results based on enabled status. By
* default, all extensions are returned. If set to TRUE, only enabled
* extensions are returned. If set to FALSE, only disabled extensions are
* returned.
*
* @return \Drupal\markdown\Plugin\Markdown\Extension\MarkdownExtensionInterface[]
* An array of MarkdownExtension plugins.
*/
public function getExtensions($parser = NULL, $enabled = NULL);
}
Members
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ContainerInjectionInterface:: |
public static | function | Instantiates a new instance of this class. | 75 |
DiscoveryInterface:: |
public | function | Gets a specific plugin definition. | 4 |
DiscoveryInterface:: |
public | function | Gets the definition of all plugins for this type. | 3 |
DiscoveryInterface:: |
public | function | Indicates if a specific plugin definition exists. | 1 |
FactoryInterface:: |
public | function | Creates a pre-configured instance of a plugin. | 6 |
FallbackPluginManagerInterface:: |
public | function | Gets a fallback id for a missing plugin. | 5 |
MapperInterface:: |
public | function | Gets a preconfigured instance of a plugin. | 3 |
MarkdownExtensionManagerInterface:: |
public | function | Retrieves MarkdownExtension plugins. | 1 |
MarkdownPluginManagerInterface:: |
public | function | Retrieves all registered plugins. | |
MarkdownPluginManagerInterface:: |
public | function | Retrieves all installed MarkdownParser plugins. | |
MarkdownPluginManagerInterface:: |
public | function | Retrieves the labels for parsers. |