You are here

public static function ConfigHandler::getTimeIntervalEnd in DB Maintenance 8

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

Returns TimeIntervalEnd variable.

2 calls to ConfigHandler::getTimeIntervalEnd()
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 67
ConfigHandler class.

Class

ConfigHandler
ConfigHandler class.

Namespace

Drupal\db_maintenance\Module\Config

Code

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