function StubSchema::addUniqueKey
Same name and namespace in other branches
- 11.x core/tests/Drupal/Tests/Core/Database/Stub/StubSchema.php \Drupal\Tests\Core\Database\Stub\StubSchema::addUniqueKey()
Add a unique key.
Parameters
string $table: The table to be altered.
string $name: The name of the key.
array $fields: An array of field names.
Overrides Schema::addUniqueKey
File
-
core/
tests/ Drupal/ Tests/ Core/ Database/ Stub/ StubSchema.php, line 72
Class
- StubSchema
- A stub of the abstract Schema class for testing purposes.
Namespace
Drupal\Tests\Core\Database\StubCode
public function addUniqueKey($table, $name, $fields) {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.