You are here

public function TableComparison::getDeclaredTableComment in Schema 8

1 call to TableComparison::getDeclaredTableComment()
TableComparison::isTableCommentDifferent in src/Comparison/Result/TableComparison.php

File

src/Comparison/Result/TableComparison.php, line 49
Contains Drupal\schema\Comparison\Result\TableComparison.

Class

TableComparison

Namespace

Drupal\schema\Comparison\Result

Code

public function getDeclaredTableComment() {
  if (!$this->table_comment_declared) {
    $this->table_comment_declared = empty($this->schema['description']) ? FALSE : $this->schema['description'];
  }
  return $this->table_comment_declared;
}