interface ExtensionInterface in Markdown 8.2
Same name in this branch
- 8.2 src/Plugin/Markdown/ExtensionInterface.php \Drupal\markdown\Plugin\Markdown\ExtensionInterface
- 8.2 src/Plugin/Markdown/CommonMark/ExtensionInterface.php \Drupal\markdown\Plugin\Markdown\CommonMark\ExtensionInterface
Interface for extensions.
@method \Drupal\markdown\Annotation\MarkdownExtension getPluginDefinition()
Hierarchy
- interface \Drupal\markdown\Plugin\Markdown\EnabledPluginInterface; interface \Drupal\markdown\Util\ParserAwareInterface
- interface \Drupal\markdown\Plugin\Markdown\ExtensionInterface
Expanded class hierarchy of ExtensionInterface
All classes that implement ExtensionInterface
6 files declare their use of ExtensionInterface
- AllowedHtmlManager.php in src/
PluginManager/ AllowedHtmlManager.php - ExtensionInterface.php in src/
Plugin/ Markdown/ CommonMark/ ExtensionInterface.php - ExtensionManager.php in src/
PluginManager/ ExtensionManager.php - markdown.module in ./
markdown.module - Markdown module.
- MarkdownParamConverter.php in src/
ParamConverter/ MarkdownParamConverter.php
File
- src/
Plugin/ Markdown/ ExtensionInterface.php, line 12
Namespace
Drupal\markdown\Plugin\MarkdownView source
interface ExtensionInterface extends EnabledPluginInterface, ParserAwareInterface {
/**
* Indicates whether the extension is automatically installed with the parser.
*
* Note: this does not indicate whether the extension is actually being used,
* just that it is available because it came with the parser.
*
* @return bool
* TRUE or FALSE
*/
public function isBundled();
/**
* Retrieves identifiers of extensions that this extension requires.
*
* @return string[]
* An indexed array of extensions this extension requires.
*/
public function requires();
/**
* Retrieves identifiers of extensions that are required by this extension.
*
* @return string[]
* An indexed array of extension required by this extension.
*/
public function requiredBy();
}
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 |
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. | |
ExtensionInterface:: |
public | function | Indicates whether the extension is automatically installed with the parser. | 2 |
ExtensionInterface:: |
public | function | Retrieves identifiers of extensions that are required by this extension. | 2 |
ExtensionInterface:: |
public | function | Retrieves identifiers of extensions that this extension requires. | 2 |
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 |
ParserAwareInterface:: |
public | function | Retrieves a Filter instance, if set. | |
ParserAwareInterface:: |
public | function | Sets the Filter plugin. | 1 |
PluginInspectionInterface:: |
public | function | Gets the definition of the plugin implementation. | 4 |
PluginInspectionInterface:: |
public | function | Gets the plugin_id of the plugin instance. | 2 |