interface FilterAwareInterface in Markdown 8.2
Interface for allowing an object to be aware of a Filter instance.
Hierarchy
- interface \Drupal\markdown\Util\FilterAwareInterface
Expanded class hierarchy of FilterAwareInterface
All classes that implement FilterAwareInterface
5 files declare their use of FilterAwareInterface
- AllowedHtmlManager.php in src/
PluginManager/ AllowedHtmlManager.php - BaseParser.php in src/
Plugin/ Markdown/ BaseParser.php - FilterMarkdown.php in src/
Plugin/ Filter/ FilterMarkdown.php - InstallablePluginBase.php in src/
Plugin/ Markdown/ InstallablePluginBase.php - ParserConfigurationForm.php in src/
Form/ ParserConfigurationForm.php
File
- src/
Util/ FilterAwareInterface.php, line 10
Namespace
Drupal\markdown\UtilView source
interface FilterAwareInterface {
/**
* Retrieves a Filter instance, if set.
*
* @return \Drupal\filter\Plugin\FilterInterface|null
* A Markdown Filter instance or NULL if not set.
*/
public function getFilter();
/**
* Sets the Filter plugin.
*
* @param \Drupal\filter\Plugin\FilterInterface $filter
* A Filter instance.
*
* @return static
*/
public function setFilter(FilterInterface $filter = NULL);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
FilterAwareInterface:: |
public | function | Retrieves a Filter instance, if set. | |
FilterAwareInterface:: |
public | function | Sets the Filter plugin. |