You are here

function template_preprocess_toc_js in Toc.js 2.0.x

Same name and namespace in other branches
  1. 8 toc_js.module \template_preprocess_toc_js()

Prepares variables for table of contents theme.

Default template: toc-js.html.twig.

Parameters

array $variables: An associative array containing the following keys:

  • entity: the entity the TOC belongs to.
  • title: the TOC title.
  • tag: the tag title.

File

./toc_js.module, line 61
Contains toc_js.module.

Code

function template_preprocess_toc_js(&$variables) {
}