You are here

public function Toc::getSource in TOC API 8

Returns the unaltered source content.

Return value

string The unaltered source content.

Overrides TocInterface::getSource

File

src/Toc.php, line 338

Class

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

Namespace

Drupal\toc_api

Code

public function getSource() {
  return $this->source;
}