| advagg_mod.defer_css |
service |
advagg_mod/advagg_mod.services.yml |
Drupal\advagg_mod\Asset\DeferCss |
| advagg_mod.defer_js |
service |
advagg_mod/advagg_mod.services.yml |
Drupal\advagg_mod\Asset\DeferJs |
| advagg_mod_css_defer_active |
function |
advagg_mod/advagg_mod.module |
Determines whether css defering should be active for the current request. |
| DeferCss |
class |
advagg_mod/src/Asset/DeferCss.php |
Modify stylesheet links to defer them. May lead to Flash of unstyled content. |
| DeferCss.php |
file |
advagg_mod/src/Asset/DeferCss.php |
|
| DeferCss::$counter |
property |
advagg_mod/src/Asset/DeferCss.php |
The global counter to use for calculating paths. |
| DeferCss::$deferMethod |
property |
advagg_mod/src/Asset/DeferCss.php |
The defer method to use from advagg_mod configuration. |
| DeferCss::$external |
property |
advagg_mod/src/Asset/DeferCss.php |
Whether or not to alter external stylesheets. |
| DeferCss::callback |
function |
advagg_mod/src/Asset/DeferCss.php |
Callback to replace individual stylesheet links. |
| DeferCss::defer |
function |
advagg_mod/src/Asset/DeferCss.php |
Replace stylesheet links with preload & noscript links. |
| DeferCss::inlineScript |
function |
advagg_mod/src/Asset/DeferCss.php |
Callback to replace the script link with an inline script. |
| DeferCss::__construct |
function |
advagg_mod/src/Asset/DeferCss.php |
DeferCss constructor. |
| DeferJs |
class |
advagg_mod/src/Asset/DeferJs.php |
Add defer tag to scripts. |
| DeferJs.php |
file |
advagg_mod/src/Asset/DeferJs.php |
|
| DeferJs::$counter |
property |
advagg_mod/src/Asset/DeferJs.php |
The global count to use from advagg configuration. |
| DeferJs::$deferType |
property |
advagg_mod/src/Asset/DeferJs.php |
The defer type to use from advagg_mod configuration. |
| DeferJs::$moduleHandler |
property |
advagg_mod/src/Asset/DeferJs.php |
The Drupal module handler. |
| DeferJs::$skipList |
property |
advagg_mod/src/Asset/DeferJs.php |
A list of file cids to skip. |
| DeferJs::callback |
function |
advagg_mod/src/Asset/DeferJs.php |
Callback to replace individual stylesheet links. |
| DeferJs::defer |
function |
advagg_mod/src/Asset/DeferJs.php |
Add defer attribute to script tags. |
| DeferJs::__construct |
function |
advagg_mod/src/Asset/DeferJs.php |
DeferCss constructor. |
| InitSubscriber::$cssDeferer |
property |
advagg_mod/src/EventSubscriber/InitSubscriber.php |
The CSS defer service. |
| InitSubscriber::$jsDeferer |
property |
advagg_mod/src/EventSubscriber/InitSubscriber.php |
The JS defer service. |
| InitSubscriber::deferCss |
function |
advagg_mod/src/EventSubscriber/InitSubscriber.php |
Apply CSS defer actions. |
| InitSubscriber::deferJs |
function |
advagg_mod/src/EventSubscriber/InitSubscriber.php |
Apply defer JS changes. |