You are here

public function UnsavedIndexConfiguration::label in Search API 8

Gets the label of the entity.

Return value

string|null The label of the entity, or NULL if there is no label defined.

Overrides EntityInterface::label

File

src/UnsavedIndexConfiguration.php, line 796

Class

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

Namespace

Drupal\search_api

Code

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