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