8 calls to Cluster::getDefaultCluster() in Elasticsearch Connector 8
- Cluster::getClientById in src/
Entity/ Cluster.php - Return the cluster object based on Cluster ID.
- ClusterDeleteForm::submitForm in src/
Form/ ClusterDeleteForm.php - This is the default entity object builder function. It is called before any other submit handler to build the new entity object to be used by the following submit handlers. At this point of the form workflow the entity is validated and the form state…
- ClusterForm::buildEntityForm in src/
Form/ ClusterForm.php - ClusterForm::validateForm in src/
Form/ ClusterForm.php - Form validation handler.
- IndexForm::buildEntityForm in src/
Form/ IndexForm.php - SearchApiElasticsearchBackend::buildConfigurationForm in src/
Plugin/ search_api/ backend/ SearchApiElasticsearchBackend.php - Overrides configurationForm().
- SearchApiElasticsearchBackend::connect in src/
Plugin/ search_api/ backend/ SearchApiElasticsearchBackend.php - Creates a connection to the Elasticsearch server as configured in $this->configuration.
- SearchApiElasticsearchBackend::getCluster in src/
Plugin/ search_api/ backend/ SearchApiElasticsearchBackend.php - Get the configured cluster; if the cluster is blank, use the default.