function StubSchema::dropUniqueKey
Drop a unique key.
Parameters
string $table: The table to be altered.
string $name: The name of the key.
Return value
bool TRUE if the key was successfully dropped, FALSE if there was no key by that name to begin with.
Overrides Schema::dropUniqueKey
File
-
core/
tests/ Drupal/ Tests/ Core/ Database/ Stub/ StubSchema.php, line 78
Class
- StubSchema
- A stub of the abstract Schema class for testing purposes.
Namespace
Drupal\Tests\Core\Database\StubCode
public function dropUniqueKey($table, $name) {
return TRUE;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.