interface MarkdownInstallablePluginInterface in Markdown 3.0.x
Hierarchy
- interface \Drupal\Component\Plugin\PluginInspectionInterface
- interface \Drupal\markdown\Plugin\Markdown\MarkdownInstallablePluginInterface
Expanded class hierarchy of MarkdownInstallablePluginInterface
All classes that implement MarkdownInstallablePluginInterface
2 files declare their use of MarkdownInstallablePluginInterface
- BaseMarkdownPluginManager.php in src/
BaseMarkdownPluginManager.php - MarkdownExtensionInterface.php in src/
Plugin/ Markdown/ Extension/ MarkdownExtensionInterface.php
File
- src/
Plugin/ Markdown/ MarkdownInstallablePluginInterface.php, line 7
Namespace
Drupal\markdown\Plugin\MarkdownView source
interface MarkdownInstallablePluginInterface extends PluginInspectionInterface {
/**
* Indicates whether the parser is installed.
*
* @return bool
*/
public static function installed() : bool;
/**
* Retrieves the version of the installed parser.
*
* @return string|null
*/
public static function version();
/**
* Retrieves the description of the plugin, if set.
*
* @return \Drupal\Core\StringTranslation\TranslatableMarkup
* The description.
*/
public function getDescription();
/**
* Displays the human-readable label of the plugin.
*
* @param bool $version
* Flag indicating whether to show the version with the label.
*
* @return \Drupal\Core\StringTranslation\TranslatableMarkup
* The label.
*/
public function getLabel($version = TRUE);
/**
* Retrieves the URL of the plugin, if set.
*
* @return \Drupal\Core\Url|null
*/
public function getUrl();
/**
* The current version of the parser.
*
* @return string|null
* The parser version.
*/
public function getVersion();
/**
* Indicates whether the parser is installed.
*
* @return bool
*/
public function isInstalled() : bool;
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
MarkdownInstallablePluginInterface:: |
public | function | Retrieves the description of the plugin, if set. | 2 |
MarkdownInstallablePluginInterface:: |
public | function | Displays the human-readable label of the plugin. | 2 |
MarkdownInstallablePluginInterface:: |
public | function | Retrieves the URL of the plugin, if set. | 2 |
MarkdownInstallablePluginInterface:: |
public | function | The current version of the parser. | 2 |
MarkdownInstallablePluginInterface:: |
public static | function | Indicates whether the parser is installed. | 2 |
MarkdownInstallablePluginInterface:: |
public | function | Indicates whether the parser is installed. | 2 |
MarkdownInstallablePluginInterface:: |
public static | function | Retrieves the version of the installed parser. | 2 |
PluginInspectionInterface:: |
public | function | Gets the definition of the plugin implementation. | 4 |
PluginInspectionInterface:: |
public | function | Gets the plugin_id of the plugin instance. | 2 |