You are here

public static function ConfigHandler::getWriteLog 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::getWriteLog()
  2. 2.0.x src/Module/Config/ConfigHandler.php \Drupal\db_maintenance\Module\Config\ConfigHandler::getWriteLog()

Returns Log config value.

2 calls to ConfigHandler::getWriteLog()
DbHandler::optimizeTables in src/Module/Db/DbHandler.php
Performs the maintenance.
DbMaintenanceAdminSettings::buildForm in src/Form/DbMaintenanceAdminSettings.php
Form constructor.

File

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

Class

ConfigHandler
ConfigHandler class.

Namespace

Drupal\db_maintenance\Module\Config

Code

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