You are here

public static function ConfigHandler::getUseTimeInterval in DB Maintenance 7.2

Same name and namespace in other branches
  1. 8 src/Module/Config/ConfigHandler.php \Drupal\db_maintenance\Module\Config\ConfigHandler::getUseTimeInterval()
  2. 2.0.x src/Module/Config/ConfigHandler.php \Drupal\db_maintenance\Module\Config\ConfigHandler::getUseTimeInterval()

Returns UseTimeInterval variable.

3 calls to ConfigHandler::getUseTimeInterval()
AdminHookHandler::hookAdminSettings in src/Module/Hook/AdminHookHandler.php
Administration settings.
CommonHookHandler::hookCron in src/Module/Hook/CommonHookHandler.php
Implements hook_cron().
IntervalHandler::isTimeIntervalConfirmed in src/Module/Interval/IntervalHandler.php
Checks, if table optimization is allowed in consistency with Time Interval configuration.

File

src/Module/Config/ConfigHandler.php, line 42
ConfigHandler class.

Class

ConfigHandler
ConfigHandler class.

Namespace

Drupal\db_maintenance\Module\Config

Code

public static function getUseTimeInterval() {
  $val = variable_get('db_maintenance_use_time_interval', 0);
  return $val;
}