interface ExtensibleParserInterface in Markdown 8.2
Interface MarkdownInterface.
Hierarchy
- interface \Drupal\markdown\Plugin\Markdown\ParserInterface; interface \Drupal\markdown\BcSupport\ObjectWithPluginCollectionInterface
- interface \Drupal\markdown\Plugin\Markdown\ExtensibleParserInterface
Expanded class hierarchy of ExtensibleParserInterface
All classes that implement ExtensibleParserInterface
7 files declare their use of ExtensibleParserInterface
- AllowedHtmlManager.php in src/
PluginManager/ AllowedHtmlManager.php - BaseExtension.php in src/
Plugin/ Markdown/ CommonMark/ BaseExtension.php - ExtensionCollection.php in src/
PluginManager/ ExtensionCollection.php - FootnoteExtension.php in src/
Plugin/ Markdown/ CommonMark/ Extension/ FootnoteExtension.php - HeadingPermalinkExtension.php in src/
Plugin/ Markdown/ CommonMark/ Extension/ HeadingPermalinkExtension.php
File
- src/
Plugin/ Markdown/ ExtensibleParserInterface.php, line 10
Namespace
Drupal\markdown\Plugin\MarkdownView source
interface ExtensibleParserInterface extends ParserInterface, ObjectWithPluginCollectionInterface {
/**
* Retrieves a specific extension plugin instance.
*
* @param string $extensionId
* The identifier of the extension plugin instance to return.
*
* @return \Drupal\markdown\Plugin\Markdown\ExtensionInterface|null
* A markdown extension instance or NULL if it doesn't exist.
*/
public function extension($extensionId);
/**
* An array of extension interfaces that the parser supports.
*
* @return string[]
* An indexed array of interfaces.
*/
public function extensionInterfaces();
/**
* Returns the ordered collection of extension plugin instances.
*
* @return \Drupal\markdown\PluginManager\ExtensionCollection|\Drupal\markdown\Plugin\Markdown\ExtensionInterface[]
* The extension plugin collection.
*/
public function extensions();
/**
* Retrieves plugin identifiers of extensions bundled with the parser.
*
* @return string[]
* An indexed array of markdown extension plugin identifiers.
*/
public function getBundledExtensionIds();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
AnnotatedPluginInterface:: |
public | function | Retrieves the configuration overrides for the plugin. | 1 |
AnnotatedPluginInterface:: |
public | function | Retrieves the description of the plugin, if set. | 1 |
AnnotatedPluginInterface:: |
public | function | Retrieves the original plugin identifier. | 1 |
AnnotatedPluginInterface:: |
public | function | Returns the provider (extension name) of the plugin. | 1 |
AnnotatedPluginInterface:: |
public | function | Returns the weight of the plugin (used for sorting). | 1 |
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 |
CacheableDependencyInterface:: |
public | function | The cache tags associated with this object. | 27 |
ConfigurableInterface:: |
public | function |
Gets default configuration for this plugin. Overrides ConfigurableInterface:: |
1 |
ConfigurableInterface:: |
public | function |
Gets this plugin's configuration. Overrides ConfigurableInterface:: |
1 |
ConfigurableInterface:: |
public | function |
Sets the configuration for this plugin instance. Overrides ConfigurableInterface:: |
1 |
ContainerFactoryPluginInterface:: |
public static | function | Creates an instance of the plugin. | 112 |
DependentPluginInterface:: |
public | function | Calculates dependencies for the configured plugin. | 19 |
EnabledPluginInterface:: |
public | function | Indicates the default "enabled" state. | |
EnabledPluginInterface:: |
public | function | Indicates whether the plugin is enabled. | |
ExtensibleParserInterface:: |
public | function | Retrieves a specific extension plugin instance. | 1 |
ExtensibleParserInterface:: |
public | function | An array of extension interfaces that the parser supports. | 1 |
ExtensibleParserInterface:: |
public | function | Returns the ordered collection of extension plugin instances. | 1 |
ExtensibleParserInterface:: |
public | function | Retrieves plugin identifiers of extensions bundled with the parser. | 1 |
InstallablePluginInterface:: |
public | function | Builds a display for a library. | 1 |
InstallablePluginInterface:: |
public | function | Builds a display status based on the current state of the plugin. | 1 |
InstallablePluginInterface:: |
public | function | Retrieves the config instance for this plugin. | 1 |
InstallablePluginInterface:: |
public | function | Retrieves the deprecation message, if any. | 1 |
InstallablePluginInterface:: |
public | function | Retrieves the experimental message. | 1 |
InstallablePluginInterface:: |
public | function | Retrieves the composer package name of the installable library, if any. | 1 |
InstallablePluginInterface:: |
public | function | Retrieves the installed library used by the plugin. | 1 |
InstallablePluginInterface:: |
public | function |
Displays the human-readable label of the plugin. Overrides AnnotatedPluginInterface:: |
|
InstallablePluginInterface:: |
public | function | Retrieves the plugin as a link using its label and URL. | 1 |
InstallablePluginInterface:: |
public | function | Instantiates a new instance of the object defined by the installed library. | 1 |
InstallablePluginInterface:: |
public | function | Retrieves the class name of the object defined by the installed library. | 1 |
InstallablePluginInterface:: |
public | function | Retrieves the preferred library of the plugin. | 1 |
InstallablePluginInterface:: |
public | function | Retrieves the configuration for the plugin, but sorted. | 1 |
InstallablePluginInterface:: |
public | function | Retrieves the URL of the plugin, if set. | 1 |
InstallablePluginInterface:: |
public | function | The current version of the plugin. | 1 |
InstallablePluginInterface:: |
public | function | Indicates whether plugin has multiple installs to check. | 1 |
InstallablePluginInterface:: |
public | function | Indicates whether the plugin is installed. | 1 |
InstallablePluginInterface:: |
public | function | Indicates whether the plugin is using the preferred library. | 1 |
InstallablePluginInterface:: |
public | function | Indicates whether the preferred library is installed. | 1 |
InstallablePluginInterface:: |
public | function | Indicates whether the plugin should be shown in the UI. | 1 |
ObjectWithPluginCollectionInterface:: |
public | function |
Gets the plugin collections used by this object. Overrides ObjectWithPluginCollectionInterface:: |
1 |
ParserInterface:: |
public | function | Parses markdown into HTML. | 2 |
PluginInspectionInterface:: |
public | function | Gets the definition of the plugin implementation. | 4 |
PluginInspectionInterface:: |
public | function | Gets the plugin_id of the plugin instance. | 2 |
RefinableCacheableDependencyInterface:: |
public | function | Adds a dependency on an object: merges its cacheability metadata. | 1 |
RefinableCacheableDependencyInterface:: |
public | function | Adds cache contexts. | 1 |
RefinableCacheableDependencyInterface:: |
public | function | Adds cache tags. | 1 |
RefinableCacheableDependencyInterface:: |
public | function | Merges the maximum age (in seconds) with the existing maximum age. | 1 |
RenderStrategyInterface:: |
constant | The documentation URL for further explaining render strategies. | ||
RenderStrategyInterface:: |
constant | Strategy used to escape HTML input prior to parsing markdown. | ||
RenderStrategyInterface:: |
constant | Strategy used to filter the output of parsed markdown. | ||
RenderStrategyInterface:: |
public | function | Retrieves the custom (user provided) allowed HTML. | 2 |
RenderStrategyInterface:: |
public | function | Retrieves the allowed HTML plugins relevant to the object. | 2 |
RenderStrategyInterface:: |
public | function | Retrieves the custom (user provided) allowed HTML. | 2 |
RenderStrategyInterface:: |
public | function | Retrieves the render strategy to use. | 2 |
RenderStrategyInterface:: |
constant | The URL for explaining Markdown and XSS; render strategies. | ||
RenderStrategyInterface:: |
constant | No render strategy. | ||
RenderStrategyInterface:: |
constant | Strategy used to remove HTML input prior to parsing markdown. | ||
SettingsInterface:: |
public static | function | Provides the default settings for the plugin. | |
SettingsInterface:: |
public | function | Retrieves the default value for the setting. | |
SettingsInterface:: |
public | function | Retrieves a setting for the plugin. | |
SettingsInterface:: |
public | function | ||
SettingsInterface:: |
public | function | Retrieves the current settings. | 1 |
SettingsInterface:: |
public | function | Flag indicating whether a setting exists. | |
SettingsInterface:: |
public | function | The array key name to use when the settings are nested in another array. |