You are here

function search_by_page_list_environments in Search by Page 6

Same name and namespace in other branches
  1. 8 search_by_page.module \search_by_page_list_environments()
  2. 7 search_by_page.module \search_by_page_list_environments()

Returns a list of the currently-defined environment IDs.

Return value

Array of environment IDs.

12 calls to search_by_page_list_environments()
sbp_ga_preprocess_page in ./sbp_ga.module
Implementation of hook_preprocess_page().
SearchByPageEnvironmentTest::setUp in tests/search_by_page.test
Generates a random database prefix, runs the install scripts on the prefixed database and enable the specified modules. After installation many caches are flushed and the internal browser is setup so that the page requests will run on the new prefix.…
SearchByPageTester::setUpEnvironments in tests/search_by_page.test
Creates two environments for Search by Page.
search_by_page_admin_overview in ./search_by_page.module
Returns the admin overview page for module configuration.
search_by_page_admin_settings in ./search_by_page.module
Returns the admin settings page for a single search environment.

... See full list

File

./search_by_page.module, line 1712
Main module file for Drupal module Search by Page.

Code

function search_by_page_list_environments() {
  $stuff = variable_get('search_by_page_settings', array());
  return array_keys($stuff);
}