apachesolr_test.module in Apache Solr Search 7
Same filename and directory in other branches
File
tests/apachesolr_test/apachesolr_test.moduleView source
<?php
/**
* Implements hook_page_alter().
*
*/
function apachesolr_test_page_alter(&$page) {
$included_files = get_included_files();
$filename = dirname(dirname(dirname(realpath(__FILE__)))) . '/apachesolr.index.inc';
if (in_array($filename, $included_files)) {
$page['page_bottom']['solr'] = array(
'#type' => 'markup',
'#markup' => 'apachesolr.index.inc was included',
);
}
}
Functions
Name | Description |
---|---|
apachesolr_test_page_alter | Implements hook_page_alter(). |