public function UnsavedIndexConfiguration::language in Search API 8
Gets the language of the entity.
Return value
\Drupal\Core\Language\LanguageInterface The language object.
Overrides EntityInterface::language
File
- src/
UnsavedIndexConfiguration.php, line 760
Class
- UnsavedIndexConfiguration
- Represents a configuration of an index that was not yet permanently saved.
Namespace
Drupal\search_apiCode
public function language() {
return $this->entity
->language();
}