function is_negated in Page Load Progress 8
Determines whether condition result will be negated.
Parameters
\Drupal\Core\Config\ImmutableConfig $config: Configuration of the module.
Return value
bool Determines whether page visibility is negated.
1 call to is_negated()
- evaluate_visibility_conditions in ./
page_load_progress.module - Checks if the current URL is defined in the visibility conditions.
File
- ./
page_load_progress.module, line 50 - Allows to attach page_load_progress assets to all pages.
Code
function is_negated(ImmutableConfig $config) {
return !empty($config
->get('page_load_progress_request_path_negate_condition'));
}