public function Toc::isVisible in TOC API 8
Indicates if this table of contents is visible.
Return value
bool TRUE if this table of contents is visible.
Overrides TocInterface::isVisible
File
- src/
Toc.php, line 442
Class
- Toc
- Defines A class that parses the header tags from an HTML document.
Namespace
Drupal\toc_apiCode
public function isVisible() {
if ($this
->getHeaderCount() < $this->options['header_count']) {
return FALSE;
}
return TRUE;
}