function elasticsearch_connector_page_alter in Elasticsearch Connector 7
Same name and namespace in other branches
- 8.7 elasticsearch_connector.module \elasticsearch_connector_page_alter()
- 8 elasticsearch_connector.module \elasticsearch_connector_page_alter()
- 8.2 elasticsearch_connector.module \elasticsearch_connector_page_alter()
- 8.5 elasticsearch_connector.module \elasticsearch_connector_page_alter()
- 8.6 elasticsearch_connector.module \elasticsearch_connector_page_alter()
- 7.5 elasticsearch_connector.module \elasticsearch_connector_page_alter()
- 7.2 elasticsearch_connector.module \elasticsearch_connector_page_alter()
Implements hook_page_alter().
File
- ./
elasticsearch_connector.module, line 462 - This module provide an interface to connecting to the elasticsearch cluster and implementing the official Elasticsearch library.
Code
function elasticsearch_connector_page_alter(&$page) {
if (elasticsearch_connector_in_dialog()) {
unset($page['page_top']);
unset($page['page_bottom']);
$page['#theme'] = 'elasticsearch_connector_page';
}
}