You are here

public function IndexInterface::discardFieldChanges in Search API 8

Resets the index's fields to the saved state.

Return value

$this

2 methods override IndexInterface::discardFieldChanges()
Index::discardFieldChanges in src/Entity/Index.php
Resets the index's fields to the saved state.
UnsavedIndexConfiguration::discardFieldChanges in src/UnsavedIndexConfiguration.php
Resets the index's fields to the saved state.

File

src/IndexInterface.php, line 535

Class

IndexInterface
Defines the interface for index entities.

Namespace

Drupal\search_api

Code

public function discardFieldChanges();