LegacyNormalizer
class LegacyNormalizer extends LessNormalizer (View source)
Class LegacyNormalizer
We need this class because some legacy approaches should still be supported, but they aren't the right things to do.
- Image backgrounds, etc... things with URL need to include their url(...) as part of the variable. But old themes
don't do this, so we we're going to sniff those variables that end with
-image
and force those variables to be image variables.
Properties
protected Less_Parser | $parser | from LessNormalizer |
Methods
createVariableCollectionFromFile(string $variablesFilePath)
No description
Details
__construct(Less_Parser $parser)
No description
protected string
normalizeVariableName(string $variableName)
No description
NormalizedVariableCollection
createVariableCollectionFromFile(string $variablesFilePath)
No description