Documentation

HeadingPermalinkProcessor
in package
implements EnvironmentAwareInterface

FinalYes

Searches the Document for Heading elements and adds HeadingPermalinks to each one

Table of Contents

Interfaces

EnvironmentAwareInterface

Constants

INSERT_AFTER  = 'after'
INSERT_BEFORE  = 'before'
INSERT_NONE  = 'none'

Properties

$config  : ConfigurationInterface
$slugNormalizer  : TextNormalizerInterface

Methods

__invoke()  : void
setEnvironment()  : void
addHeadingLink()  : void

Constants

Properties

Methods

private addHeadingLink(Heading $heading, int $slugLength, string $idPrefix, bool $applyToHeading, string $headingClass) : void
Parameters
$heading : Heading
$slugLength : int
$idPrefix : string
$applyToHeading : bool
$headingClass : string

        
On this page

Search results