public function UnsavedIndexConfiguration::delete in Search API 8
Deletes an entity permanently.
Throws
\Drupal\Core\Entity\EntityStorageException In case of failures an exception is thrown.
Overrides EntityInterface::delete
File
- src/
UnsavedIndexConfiguration.php, line 888
Class
- UnsavedIndexConfiguration
- Represents a configuration of an index that was not yet permanently saved.
Namespace
Drupal\search_apiCode
public function delete() {
$this->entity
->delete();
}