You are here

public function Toc::getContent in TOC API 8

Returns the content with all headers assigned a unique id.

Return value

string The content with all headers assigned a unique id.

Overrides TocInterface::getContent

File

src/Toc.php, line 345

Class

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

Namespace

Drupal\toc_api

Code

public function getContent() {
  return $this->content;
}