You are here

public function UnsavedIndexConfiguration::getLastUpdated in Search API 8

Retrieves the last updated date of this configuration, if any.

Return value

int|null The time of the last change to this configuration; or NULL if this object represents the still unchanged configuration that is currently stored.

Overrides UnsavedConfigurationInterface::getLastUpdated

File

src/UnsavedIndexConfiguration.php, line 149

Class

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

Namespace

Drupal\search_api

Code

public function getLastUpdated() {
  return $this->lock ? $this->lock
    ->getUpdated() : NULL;
}