interface MarkdownFilterInterface in Markdown 3.0.x
Interface MarkdownFilterInterface.
Hierarchy
- interface \Drupal\Component\Plugin\ConfigurableInterface; interface \Drupal\Component\Plugin\DependentPluginInterface; interface \Drupal\Component\Plugin\PluginInspectionInterface
- interface \Drupal\filter\Plugin\FilterInterface
- interface \Drupal\markdown\Plugin\Filter\MarkdownFilterInterface
- interface \Drupal\filter\Plugin\FilterInterface
Expanded class hierarchy of MarkdownFilterInterface
All classes that implement MarkdownFilterInterface
6 files declare their use of MarkdownFilterInterface
- AtAutolinker.php in src/
Plugin/ Markdown/ Extension/ AtAutolinker.php - BaseExtension.php in src/
Plugin/ Markdown/ Extension/ BaseExtension.php - HashAutolinker.php in src/
Plugin/ Markdown/ Extension/ HashAutolinker.php - LinkRenderer.php in src/
Plugin/ Markdown/ Extension/ LinkRenderer.php - MarkdownExtensionInterface.php in src/
Plugin/ Markdown/ Extension/ MarkdownExtensionInterface.php
File
- src/
Plugin/ Filter/ MarkdownFilterInterface.php, line 10
Namespace
Drupal\markdown\Plugin\FilterView source
interface MarkdownFilterInterface extends FilterInterface {
/**
* Retrieves the MarkdownParser plugin for this filter.
*
* @return \Drupal\markdown\Plugin\Markdown\MarkdownParserInterface
* The MarkdownParser plugin.
*/
public function getParser();
/**
* Retrieves a specific parser setting.
*
* @param string $name
* The name of the setting to retrieve.
* @param mixed $default
* Optional. The default value to return if not set.
*
* @return mixed
* The parser setting value.
*/
public function getParserSetting($name, $default = NULL);
/**
* Retrieves all parser specific settings.
*
* @return array
* The parser settings.
*/
public function getParserSettings();
/**
* Retrieves a specific setting.
*
* @param string $name
* The name of the setting to retrieve.
* @param mixed $default
* Optional. The default value to return if not set.
*
* @return mixed
* The setting value.
*/
public function getSetting($name, $default = NULL);
/**
* Retrieves all settings.
*
* @return array
* The settings.
*/
public function getSettings();
/**
* Indicates whether the filter is enabled or not.
*
* @return bool
* TRUE or FALSE
*/
public function isEnabled();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ConfigurableInterface:: |
public | function | Gets default configuration for this plugin. | 14 |
ConfigurableInterface:: |
public | function | Gets this plugin's configuration. | 15 |
ConfigurableInterface:: |
public | function | Sets the configuration for this plugin instance. | 15 |
DependentPluginInterface:: |
public | function | Calculates dependencies for the configured plugin. | 20 |
FilterInterface:: |
public | function | Returns the administrative description for this filter plugin. | 1 |
FilterInterface:: |
public | function | Returns HTML allowed by this filter's configuration. | 1 |
FilterInterface:: |
public | function | Returns the administrative label for this filter plugin. | 1 |
FilterInterface:: |
public | function | Returns the processing type of this filter plugin. | 1 |
FilterInterface:: |
public | function | Prepares the text for processing. | 1 |
FilterInterface:: |
public | function | Performs the filter processing. | 21 |
FilterInterface:: |
public | function | Generates a filter's settings form. | 1 |
FilterInterface:: |
public | function | Generates a filter's tip. | 1 |
FilterInterface:: |
constant | HTML tag and attribute restricting filters to prevent XSS attacks. | ||
FilterInterface:: |
constant | Non-HTML markup language filters that generate HTML. | ||
FilterInterface:: |
constant | Irreversible transformation filters. | ||
FilterInterface:: |
constant | Reversible transformation filters. | ||
MarkdownFilterInterface:: |
public | function | Retrieves the MarkdownParser plugin for this filter. | 1 |
MarkdownFilterInterface:: |
public | function | Retrieves a specific parser setting. | 1 |
MarkdownFilterInterface:: |
public | function | Retrieves all parser specific settings. | 1 |
MarkdownFilterInterface:: |
public | function | Retrieves a specific setting. | 1 |
MarkdownFilterInterface:: |
public | function | Retrieves all settings. | 1 |
MarkdownFilterInterface:: |
public | function | Indicates whether the filter is enabled or not. | 1 |
PluginInspectionInterface:: |
public | function | Gets the definition of the plugin implementation. | 4 |
PluginInspectionInterface:: |
public | function | Gets the plugin_id of the plugin instance. | 2 |