You are here

interface FilterAwareInterface in Markdown 8.2

Interface for allowing an object to be aware of a Filter instance.

Hierarchy

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

Namesort descending Modifiers Type Description Overrides
FilterAwareInterface::getFilter public function Retrieves a Filter instance, if set.
FilterAwareInterface::setFilter public function Sets the Filter plugin.