I have set the option number_path
to false
because I thought that would control the entire display of the numbers in headings. I want to keep the decimal
option for the ToC-Block but dont want the numbers displayed in the headings.
If that is the intended behavior we need another condition in the template_preprocess_toc_header
hook.
Set number_type
to decimal
Set number_path
to false
Check the rendered headings. Nothing change if number_path
is true or false
Clarify the intended behavior. Add $options['number_path']
as AND condition.
Active
1.0
Code