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\ResultView 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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
BaseTable:: |
protected | property | ||
BaseTable:: |
protected | property | ||
BaseTable:: |
public | function | ||
BaseTable:: |
public | function | ||
BaseTable:: |
function |