You are here

public function SchemaComparison::getDifferentTables in Schema 8

File

src/Comparison/Result/SchemaComparison.php, line 65
Contains Drupal\schema\Comparison\Result\SchemaComparison.

Class

SchemaComparison
Stores the results of a schema comparison.

Namespace

Drupal\schema\Comparison\Result

Code

public function getDifferentTables() {
  return array_filter($this->tables_compared, function ($table) {

    /** @var $table TableComparison */
    return $table
      ->isStatusDifferent();
  });
}