You are here

public static function Index::loadAllIndices in Elasticsearch Connector 8

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

Load all indices.

Return value

\Drupal\elasticsearch_connector\Entity\Index[]

File

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

Class

Index
Defines the search server configuration entity.

Namespace

Drupal\elasticsearch_connector\Entity

Code

public static function loadAllIndices() {
  return Index::loadMultiple();
}