You are here

function elasticsearch_connector_in_dialog in Elasticsearch Connector 7.5

Same name and namespace in other branches
  1. 8.7 elasticsearch_connector.module \elasticsearch_connector_in_dialog()
  2. 8 elasticsearch_connector.module \elasticsearch_connector_in_dialog()
  3. 8.2 elasticsearch_connector.module \elasticsearch_connector_in_dialog()
  4. 8.5 elasticsearch_connector.module \elasticsearch_connector_in_dialog()
  5. 8.6 elasticsearch_connector.module \elasticsearch_connector_in_dialog()
  6. 7 elasticsearch_connector.module \elasticsearch_connector_in_dialog()
  7. 7.2 elasticsearch_connector.module \elasticsearch_connector_in_dialog()

Check if we are in a references dialog.

Return value

boolean if we are in a dialog.

3 calls to elasticsearch_connector_in_dialog()
elasticsearch_connector_cluster_indices_add_submit in ./elasticsearch_connector.admin.inc
Submit the values of index create form.
elasticsearch_connector_page_alter in ./elasticsearch_connector.module
Implements hook_page_alter().
elasticsearch_connector_redirect_page in ./elasticsearch_connector.module
Page callback for our redirect page.

File

./elasticsearch_connector.module, line 475
This module provide an interface to connecting to the elasticsearch cluster and implementing the official Elasticsearch library.

Code

function elasticsearch_connector_in_dialog() {
  return isset($_GET['render']) && $_GET['render'] == 'elasticsearch-connector-dialog';
}