You are here

protected function SchemaMigrator::getTargetTables in Schema 8

1 call to SchemaMigrator::getTargetTables()
SchemaMigrator::execute in src/Migration/SchemaMigrator.php

File

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

Class

SchemaMigrator
Modifies the database schema to match the declared schema.

Namespace

Drupal\schema\Migration

Code

protected function getTargetTables() {
  $tables = array();
  if ($this
    ->options()->useDifferentTables) {
    $tables += $this->comparison
      ->getDifferentTables();
  }
  if ($this
    ->options()->useSameTables) {
    $tables += $this->comparison
      ->getSameTables();
  }
  return $tables;
}