You are here

public function UnsavedIndexConfiguration::get in Search API 8

Returns the value of a property.

Parameters

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

Return value

mixed The property if it exists, or NULL otherwise.

Overrides ConfigEntityInterface::get

File

src/UnsavedIndexConfiguration.php, line 687

Class

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

Namespace

Drupal\search_api

Code

public function get($property_name) {
  return $this->entity
    ->get($property_name);
}