You are here

public static function UnsavedIndexConfiguration::load in Search API 8

Loads an entity.

Parameters

mixed $id: The id of the entity to load.

Return value

static|null The entity object or NULL if there is no entity with the given ID.

Overrides EntityInterface::load

File

src/UnsavedIndexConfiguration.php, line 852

Class

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

Namespace

Drupal\search_api

Code

public static function load($id) {
  return Index::load($id);
}