ConsumesDefaultHighlightLanguage
in
Implement this interface on a Node to let the compiler set the default highlight language on it, as configured by the project settings or the reStructuredText `.. highlight::` directive, whenever the node does not already have an explicit language set.
Table of Contents
Methods
- getLanguage() : string|null
- setLanguage() : void
Methods
getLanguage()
public
getLanguage() : string|null
Return values
string|nullsetLanguage()
public
setLanguage(string|null $language) : void
Parameters
- $language : string|null