You are here

public function NodeHtmlTitle::setHtmlTitleFilter in HTML Title 8

Set the HTML title filter service.

Parameters

\Drupal\html_title\HtmlTitleFilter $html_title_filter: The HTML title filter service.

File

src/Plugin/views/field/NodeHtmlTitle.php, line 40

Class

NodeHtmlTitle
A field that displays node html title.

Namespace

Drupal\html_title\Plugin\views\field

Code

public function setHtmlTitleFilter(HtmlTitleFilter $html_title_filter) {
  $this->htmlTitleFilter = $html_title_filter;
  return $this;
}