You are here

public function TocInterface::getTree in TOC API 8

Returns a hierarchical array of headers.

Return value

array An hierarchical array of headers.

1 method overrides TocInterface::getTree()
Toc::getTree in src/Toc.php
Returns a hierarchical array of headers.

File

src/TocInterface.php, line 72

Class

TocInterface
Provides an interface defining a TOC.

Namespace

Drupal\toc_api

Code

public function getTree();