You are here

public function TocFormatterInterface::convertHeaderKeysToValues in TOC API 8

Convert headers keyed by number to list type values.

Parameters

array $header_keys: An associate array of header tag/number pairs.

array $options: A TOC objects associative array of options.

Return value

array An associate array of header tag/value pairs.

1 method overrides TocFormatterInterface::convertHeaderKeysToValues()
TocFormatter::convertHeaderKeysToValues in src/TocFormatter.php
Convert headers keyed by number to list type values.

File

src/TocFormatterInterface.php, line 89

Class

TocFormatterInterface
Provides an interface defining a TOC formatter.

Namespace

Drupal\toc_api

Code

public function convertHeaderKeysToValues(array $header_keys, array $options);