function StubSchema::dropPrimaryKey

Overrides Schema::dropPrimaryKey

File

core/tests/Drupal/Tests/Core/Database/Stub/StubSchema.php, line 65

Class

StubSchema
A stub of the abstract Schema class for testing purposes.

Namespace

Drupal\Tests\Core\Database\Stub

Code

public function dropPrimaryKey($table) {
    return TRUE;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.