public function UnsavedIndexConfiguration::discardFieldChanges in Search API 8
Resets the index's fields to the saved state.
Return value
$this
Overrides IndexInterface::discardFieldChanges
File
- src/
UnsavedIndexConfiguration.php, line 512
Class
- UnsavedIndexConfiguration
- Represents a configuration of an index that was not yet permanently saved.
Namespace
Drupal\search_apiCode
public function discardFieldChanges() {
$this->entity
->discardFieldChanges();
return $this;
}