function elasticsearch_connector_page_alter in Elasticsearch Connector 8.6
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()
- 7.5 elasticsearch_connector.module \elasticsearch_connector_page_alter()
- 7 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 299 - Provides hook implementations and functions accessible from other modules.
Code
function elasticsearch_connector_page_alter(&$page) {
if (elasticsearch_in_dialog()) {
unset($page['page_top']);
unset($page['page_bottom']);
$page['#theme'] = 'elasticsearch_page';
}
}