You are here

public function FilterAwareTrait::setFilter in Markdown 8.2

File

src/Traits/FilterAwareTrait.php, line 29

Class

FilterAwareTrait
Trait for implementing \Drupal\markdown\Util\FilterAwareInterface.

Namespace

Drupal\markdown\Traits

Code

public function setFilter(FilterInterface $filter = NULL) {
  $this->filter = $filter;
  return $this;
}