public function CriticalCssProviderInterface::isEnabled in Critical CSS 8
Check if module is enabled.
Return value
bool True if this module is enabled
1 method overrides CriticalCssProviderInterface::isEnabled()
- CriticalCssProvider::isEnabled in src/
Asset/ CriticalCssProvider.php - When accessing an admin route, this module is always disabled to avoid multiple problems with Drupal's admin theme. On the other hand, this is a module aimed to be used for a site's frontend, and not for the backend.
File
- src/
Asset/ CriticalCssProviderInterface.php, line 43
Class
- CriticalCssProviderInterface
- Defines an interface for a Critical CSS Provider.
Namespace
Drupal\critical_css\AssetCode
public function isEnabled();