You are here

public function FilterAwareInterface::setFilter in Markdown 8.2

Sets the Filter plugin.

Parameters

\Drupal\filter\Plugin\FilterInterface $filter: A Filter instance.

Return value

static

File

src/Util/FilterAwareInterface.php, line 28

Class

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

Namespace

Drupal\markdown\Util

Code

public function setFilter(FilterInterface $filter = NULL);