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