You are here

protected function SchemaMigrator::logSuccess in Schema 8

5 calls to SchemaMigrator::logSuccess()
SchemaMigrator::fixTableComment in src/Migration/SchemaMigrator.php
SchemaMigrator::recreateIndexes in src/Migration/SchemaMigrator.php
SchemaMigrator::recreatePrimaryKey in src/Migration/SchemaMigrator.php
SchemaMigrator::removeExtraColumns in src/Migration/SchemaMigrator.php
SchemaMigrator::updateColumnProperties in src/Migration/SchemaMigrator.php

File

src/Migration/SchemaMigrator.php, line 109
Contains Drupal\schema\Migration\SchemaMigrator.

Class

SchemaMigrator
Modifies the database schema to match the declared schema.

Namespace

Drupal\schema\Migration

Code

protected function logSuccess($message, $context) {
  if (function_exists('drush_log')) {
    drush_log($this
      ->logMessageInterpolate($message, $context), 'success');
  }
  $this->logger
    ->info($message, $context);
}