public function DatabaseSchemaInterface::dropIndex in Schema 8
Drop an index.
Parameters
$table: The table to be altered.
$name: The name of the index.
Return value
TRUE if the index was successfully dropped, FALSE if there was no index by that name to begin with.
File
- src/
DatabaseSchemaInterface.php, line 259 - Contains Drupal\schema\DatabaseSchemaInterface.
Class
- DatabaseSchemaInterface
- This interface describes public methods of \Drupal\Core\Database\Schema.
Namespace
Drupal\schemaCode
public function dropIndex($table, $name);