You are here

public static function Index::loadIndex in Elasticsearch Connector 8

Same name and namespace in other branches
  1. 8.2 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 89
Contains \Drupal\elasticsearch_connector\Entity\Index.

Class

Index
Defines the search server configuration entity.

Namespace

Drupal\elasticsearch_connector\Entity

Code

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