public static function ConfigHandler::getCronFrequency in DB Maintenance 8
Same name and namespace in other branches
- 7.2 src/Module/Config/ConfigHandler.php \Drupal\db_maintenance\Module\Config\ConfigHandler::getCronFrequency()
- 2.0.x src/Module/Config/ConfigHandler.php \Drupal\db_maintenance\Module\Config\ConfigHandler::getCronFrequency()
Returns cron frequency.
2 calls to ConfigHandler::getCronFrequency()
- CommonHookHandler::hookCron in src/
Module/ Hook/ CommonHookHandler.php - Implements hook_cron().
- DbMaintenanceAdminSettings::buildForm in src/
Form/ DbMaintenanceAdminSettings.php - Form constructor.
File
- src/
Module/ Config/ ConfigHandler.php, line 35 - ConfigHandler class.
Class
- ConfigHandler
- ConfigHandler class.
Namespace
Drupal\db_maintenance\Module\ConfigCode
public static function getCronFrequency() {
$val = \Drupal::config('db_maintenance.settings')
->get('cron_frequency');
return $val;
}