You are here

public function UnsavedIndexConfiguration::set in Search API 8

Sets the value of a property.

Parameters

string $property_name: The name of the property that should be set.

mixed $value: The value the property should be set to.

Return value

$this

Overrides ConfigEntityInterface::set

File

src/UnsavedIndexConfiguration.php, line 694

Class

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

Namespace

Drupal\search_api

Code

public function set($property_name, $value) {
  $this->entity
    ->set($property_name, $value);
  return $this;
}