public function TocBuilderInterface::renderToc in TOC API 8
Renders a table of contents navigation.
Parameters
\Drupal\toc_api\TocInterface $toc: A TOC object.
Return value
\Drupal\Component\Render\MarkupInterface The rendered table of contents.
1 method overrides TocBuilderInterface::renderToc()
- TocBuilder::renderToc in src/
TocBuilder.php - Renders a table of contents navigation.
File
- src/
TocBuilderInterface.php, line 43
Class
- TocBuilderInterface
- Provides an interface defining a TOC builder.
Namespace
Drupal\toc_apiCode
public function renderToc(TocInterface $toc);