You are here

public static function Index::loadAllIndices in Elasticsearch Connector 8.2

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

Class

Index
Defines the Elasticsearch Connector Index configuration entity.

Namespace

Drupal\elasticsearch_connector\Entity

Code

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