You are here

public function SchemaComparison::addWarning in Schema 8

File

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

Class

SchemaComparison
Stores the results of a schema comparison.

Namespace

Drupal\schema\Comparison\Result

Code

public function addWarning($warning) {
  $this->warnings[] = $warning;
}