You are here

abstract class BaseTable in Schema 8

Hierarchy

  • class \Drupal\schema\Comparison\Result\BaseTable

Expanded class hierarchy of BaseTable

File

src/Comparison/Result/BaseTable.php, line 10
Contains Drupal\schema\Comparison\Result\BaseTable.

Namespace

Drupal\schema\Comparison\Result
View source
abstract class BaseTable {
  protected $table_name;
  protected $schema;
  function __construct($table_name, $schema) {
    $this->table_name = $table_name;
    $this->schema = $schema;
  }
  public function getTableName() {
    return $this->table_name;
  }
  public function getModule() {
    if (isset($this->schema['module'])) {
      return $this->schema['module'];
    }
    return t('Unknown');
  }

}

Members