You are here

public static function Index::loadIndex in Elasticsearch Connector 8.2

Same name and namespace in other branches
  1. 8 src/Entity/Index.php \Drupal\elasticsearch_connector\Entity\Index::loadIndex()

Loads index object.

Parameters

$index_id:

Return value

\Drupal\elasticsearch_connector\Entity\Index

File

src/Entity/Index.php, line 97
Contains \Drupal\elasticsearch_connector\Entity\Index.

Class

Index
Defines the Elasticsearch Connector Index configuration entity.

Namespace

Drupal\elasticsearch_connector\Entity

Code

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