You are here

public function Toc::getTitle in TOC API 8

Return the table of contents title.

Return value

string The table of contents title.

Overrides TocInterface::getTitle

File

src/Toc.php, line 359

Class

Toc
Defines A class that parses the header tags from an HTML document.

Namespace

Drupal\toc_api

Code

public function getTitle() {
  return $this->options['title'];
}