class Theme implements ExtenderInterface
Methods
overrideLessImport(string $file, string $newFilePath, string $extensionId = null)
<p>This can be used to override LESS files that are imported within the code.</p>
overrideFileSource(string $file, string $newFilePath, string $extensionId = null)
<p>This method allows overriding LESS file sources.</p>
Details
at
line 31
Theme
overrideLessImport(string $file, string $newFilePath, string $extensionId = null)
<p>This can be used to override LESS files that are imported within the code.</p>
<p>For example, core's <code>forum.less</code> file imports a <code>forum/DiscussionListItem.less</code> file. The contents of this file can be overriden with this method.</p>
at
line 48
Theme
overrideFileSource(string $file, string $newFilePath, string $extensionId = null)
<p>This method allows overriding LESS file sources.</p>
<p>For example <code>forum.less</code>, <code>admin.less</code>, <code>mixins.less</code> and <code>variables.less</code> are file sources, and can therefore be overriden using this method.</p>