public function TableConfig::exists in Data 8
Check if data table exists.
Return value
bool
Overrides TableConfigInterface::exists
1 call to TableConfig::exists()
- TableConfig::save in src/
Entity/ TableConfig.php - Saves an entity permanently.
File
- src/
Entity/ TableConfig.php, line 49
Class
- TableConfig
- Defines the Data Table entity.
Namespace
Drupal\data\EntityCode
public function exists() {
return Database::getConnection()
->schema()
->tableExists($this
->id());
}