You are here

interface FilterMarkdownInterface in Markdown 8.2

Interface for the markdown filter.

Hierarchy

Expanded class hierarchy of FilterMarkdownInterface

All classes that implement FilterMarkdownInterface

File

src/Plugin/Filter/FilterMarkdownInterface.php, line 11

Namespace

Drupal\markdown\Plugin\Filter
View source
interface FilterMarkdownInterface extends FilterInterface, FilterFormatAwareInterface {

  /**
   * Retrieves the MarkdownParser plugin for this filter.
   *
   * @return \Drupal\markdown\Plugin\Markdown\ParserInterface
   *   The MarkdownParser plugin.
   */
  public function getParser();

  /**
   * Indicates whether the filter is enabled or not.
   *
   * @return bool
   *   TRUE or FALSE
   */
  public function isEnabled();

}

Members

Namesort descending Modifiers Type Description Overrides
ConfigurableInterface::defaultConfiguration public function Gets default configuration for this plugin. 11
ConfigurableInterface::getConfiguration public function Gets this plugin's configuration. 12
ConfigurableInterface::setConfiguration public function Sets the configuration for this plugin instance. 12
DependentPluginInterface::calculateDependencies public function Calculates dependencies for the configured plugin. 19
FilterFormatAwareInterface::getFilterFormat public function Retrieves a FilterFormat entity, if set.
FilterFormatAwareInterface::setFilterFormat public function Sets the FilterFormat entity.
FilterInterface::getDescription public function Returns the administrative description for this filter plugin. 1
FilterInterface::getHTMLRestrictions public function Returns HTML allowed by this filter's configuration. 1
FilterInterface::getLabel public function Returns the administrative label for this filter plugin. 1
FilterInterface::getType public function Returns the processing type of this filter plugin. 1
FilterInterface::prepare public function Prepares the text for processing. 1
FilterInterface::process public function Performs the filter processing. 21
FilterInterface::settingsForm public function Generates a filter's settings form. 1
FilterInterface::tips public function Generates a filter's tip. 1
FilterInterface::TYPE_HTML_RESTRICTOR constant HTML tag and attribute restricting filters to prevent XSS attacks.
FilterInterface::TYPE_MARKUP_LANGUAGE constant Non-HTML markup language filters that generate HTML.
FilterInterface::TYPE_TRANSFORM_IRREVERSIBLE constant Irreversible transformation filters.
FilterInterface::TYPE_TRANSFORM_REVERSIBLE constant Reversible transformation filters.
FilterMarkdownInterface::getParser public function Retrieves the MarkdownParser plugin for this filter.
FilterMarkdownInterface::isEnabled public function Indicates whether the filter is enabled or not. 1
PluginInspectionInterface::getPluginDefinition public function Gets the definition of the plugin implementation. 4
PluginInspectionInterface::getPluginId public function Gets the plugin_id of the plugin instance. 2