class Schema
Same name and namespace in other branches
- 11.x core/tests/fixtures/database_drivers/module/core_fake/src/Driver/Database/CoreFakeWithAllCustomClasses/Schema.php \Drupal\core_fake\Driver\Database\CoreFakeWithAllCustomClasses\Schema
CoreFakeWithAllCustomClasses implementation of \Drupal\Core\Database\Schema.
Hierarchy
- class \Drupal\core_fake\Driver\Database\CoreFakeWithAllCustomClasses\Schema
Expanded class hierarchy of Schema
File
-
core/
tests/ fixtures/ database_drivers/ module/ core_fake/ src/ Driver/ Database/ CoreFakeWithAllCustomClasses/ Schema.php, line 10
Namespace
Drupal\core_fake\Driver\Database\CoreFakeWithAllCustomClassesView source
class Schema extends DatabaseSchema {
/**
* {@inheritdoc}
*/
public function getFieldTypeMap() {
}
/**
* {@inheritdoc}
*/
public function renameTable($table, $new_name) {
}
/**
* {@inheritdoc}
*/
public function dropTable($table) {
}
/**
* {@inheritdoc}
*/
public function addField($table, $field, $spec, $keys_new = []) {
}
/**
* {@inheritdoc}
*/
public function dropField($table, $field) {
}
/**
* {@inheritdoc}
*/
public function indexExists($table, $name) {
}
/**
* {@inheritdoc}
*/
public function addPrimaryKey($table, $fields) {
}
/**
* {@inheritdoc}
*/
public function dropPrimaryKey($table) {
}
/**
* {@inheritdoc}
*/
public function addUniqueKey($table, $name, $fields) {
}
/**
* {@inheritdoc}
*/
public function dropUniqueKey($table, $name) {
}
/**
* {@inheritdoc}
*/
public function addIndex($table, $name, $fields, array $spec) {
}
/**
* {@inheritdoc}
*/
public function dropIndex($table, $name) {
}
/**
* {@inheritdoc}
*/
public function changeField($table, $field, $field_new, $spec, $keys_new = []) {
}
}
Members
Title Sort descending | Modifiers | Object type | Summary |
---|---|---|---|
Schema::addField | public | function | Add a new field to a table. |
Schema::addIndex | public | function | Add an index. |
Schema::addPrimaryKey | public | function | Add a primary key. |
Schema::addUniqueKey | public | function | Add a unique key. |
Schema::changeField | public | function | Change a field definition. |
Schema::dropField | public | function | Drop a field. |
Schema::dropIndex | public | function | Drop an index. |
Schema::dropPrimaryKey | public | function | Drop the primary key. |
Schema::dropTable | public | function | Drop a table. |
Schema::dropUniqueKey | public | function | Drop a unique key. |
Schema::getFieldTypeMap | public | function | Returns a mapping of Drupal schema field names to DB-native field types. |
Schema::indexExists | public | function | Checks if an index exists in the given table. |
Schema::renameTable | public | function | Rename a table. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.