public function TocInterface::getIndex in TOC API 8
Returns a flat associative array of headers.
Return value
array A flat associative array of headers.
1 method overrides TocInterface::getIndex()
- Toc::getIndex in src/
Toc.php - Returns a flat associative array of headers.
File
- src/
TocInterface.php, line 64
Class
- TocInterface
- Provides an interface defining a TOC.
Namespace
Drupal\toc_apiCode
public function getIndex();