You are here

protected function Updater::logWarning in Update helper 2.x

Same name and namespace in other branches
  1. 8 src/Updater.php \Drupal\update_helper\Updater::logWarning()

Log warning message with internal count for reporting update failures.

Parameters

string $message: The message used for logging of warning.

3 calls to Updater::logWarning()
Updater::executeConfigurationActions in src/Updater.php
Execute configuration update definitions for configurations.
Updater::importConfigs in src/Updater.php
Imports configurations.
Updater::installModules in src/Updater.php
Installs modules.

File

src/Updater.php, line 114

Class

Updater
Helper class to update configuration.

Namespace

Drupal\update_helper

Code

protected function logWarning($message) {
  $this->warningCount++;
  $this->logger
    ->warning($message);
}