function SchemaTest::checkSchemaComment
Checks that a table or column comment matches a given description.
Parameters
string $description: The asserted description.
string $table: The table to test.
string|null $column: Optional column to test.
Overrides DriverSpecificSchemaTestBase::checkSchemaComment
File
-
core/
modules/ sqlite/ tests/ src/ Kernel/ sqlite/ SchemaTest.php, line 19
Class
- SchemaTest
- Tests schema API for the SQLite driver.
Namespace
Drupal\Tests\sqlite\Kernel\sqliteCode
public function checkSchemaComment(string $description, string $table, ?string $column = NULL) : void {
// The sqlite driver schema does not support fetching table/column
// comments.
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.