public static function ConfigHandler::getCronLastRun in DB Maintenance 8
Same name and namespace in other branches
- 7.2 src/Module/Config/ConfigHandler.php \Drupal\db_maintenance\Module\Config\ConfigHandler::getCronLastRun()
- 2.0.x src/Module/Config/ConfigHandler.php \Drupal\db_maintenance\Module\Config\ConfigHandler::getCronLastRun()
Returns last cron run.
1 call to ConfigHandler::getCronLastRun()
- CommonHookHandler::hookCron in src/
Module/ Hook/ CommonHookHandler.php - Implements hook_cron().
File
- src/
Module/ Config/ ConfigHandler.php, line 18 - ConfigHandler class.
Class
- ConfigHandler
- ConfigHandler class.
Namespace
Drupal\db_maintenance\Module\ConfigCode
public static function getCronLastRun() {
$val = \Drupal::config('db_maintenance.settings')
->get('cron_last_run');
return $val;
}