You are here

public static function ConfigHandler::getTimeIntervalStart in DB Maintenance 2.0.x

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

Returns TimeIntervalStart variable.

2 calls to ConfigHandler::getTimeIntervalStart()
DbMaintenanceAdminSettings::buildForm in src/Form/DbMaintenanceAdminSettings.php
Form constructor.
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 59
ConfigHandler class.

Class

ConfigHandler
ConfigHandler class.

Namespace

Drupal\db_maintenance\Module\Config

Code

public static function getTimeIntervalStart() {
  $val = \Drupal::config('db_maintenance.settings')
    ->get('time_interval_start');
  return $val;
}