You are here

public function UnsavedIndexConfiguration::setLockInformation in Search API 8

Sets the lock information for this configuration.

Parameters

object|null $lock: The lock information, as an object with properties "owner" and "updated"; or NULL if this object represents the still unchanged configuration that is currently stored.

Return value

$this

Overrides UnsavedConfigurationInterface::setLockInformation

File

src/UnsavedIndexConfiguration.php, line 156

Class

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

Namespace

Drupal\search_api

Code

public function setLockInformation($lock = NULL) {
  $this->lock = $lock;
  return $this;
}