Same name and namespace in other branches
  1. 8.x-2.x advagg.module \advagg_get_global_counter() 1 commentaire

Return the advagg_global_counter variable.

Return value

int Int value.

5 calls to advagg_get_global_counter()
advagg_admin_operations_form dans ./advagg.admin.inc
Form builder; Do advagg operations.
advagg_current_hooks_hash_array dans ./advagg.module
Get an array of all hooks and settings that affect aggregated files contents.
advagg_drush_help dans ./advagg.drush.inc
Implements hook_drush_help().
advagg_increment_global_counter dans ./advagg.cache.inc
Increment the advagg_global_counter variable by one.
advagg_mod_init dans advagg_mod/advagg_mod.module
Implements hook_init().

Fichier

./advagg.module, line 3964

Code

function advagg_get_global_counter() {
    $global_counter = variable_get('advagg_global_counter', ADVAGG_GLOBAL_COUNTER);
    return $global_counter;
}