You are here

public function UnsavedIndexConfiguration::hasChanges in Search API 8

Determines if there are any unsaved changes in this configuration.

Return value

bool TRUE if any changes have been made to this configuration compared to the one in permanent storage; FALSE otherwise.

Overrides UnsavedConfigurationInterface::hasChanges

File

src/UnsavedIndexConfiguration.php, line 112

Class

UnsavedIndexConfiguration
Represents a configuration of an index that was not yet permanently saved.

Namespace

Drupal\search_api

Code

public function hasChanges() {
  return (bool) $this->lock;
}