You are here

protected function CriticalCssProvider::isEnabledForLoggedInUsers in Critical CSS 8

Check if module is enabled for logged-in users.

Return value

bool True if this module is enabled for logged-in users.

1 call to CriticalCssProvider::isEnabledForLoggedInUsers()
CriticalCssProvider::calculateFilePaths in src/Asset/CriticalCssProvider.php
Get all possible paths to search, relatives to theme.

File

src/Asset/CriticalCssProvider.php, line 190

Class

CriticalCssProvider
Critical CSS Provider.

Namespace

Drupal\critical_css\Asset

Code

protected function isEnabledForLoggedInUsers() {
  return (bool) $this->config
    ->get('enabled_for_logged_in_users');
}