You are here

interface FilterFormatAwareInterface in Markdown 8.2

Interface for allowing an object to be aware of a FilterFormat object.

Hierarchy

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

... See full list

File

src/Util/FilterFormatAwareInterface.php, line 10

Namespace

Drupal\markdown\Util
View 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

Namesort descending Modifiers Type Description Overrides
FilterFormatAwareInterface::getFilterFormat public function Retrieves a FilterFormat entity, if set.
FilterFormatAwareInterface::setFilterFormat public function Sets the FilterFormat entity.