You are here

function popups_test_popups in Popups API (Ajax Dialogs) 6.2

Same name and namespace in other branches
  1. 6 popups_test.module \popups_test_popups()

Implementation of hook_popups().

This implements hook_popups, defined in popups_get_popups. See the comments in popups_add_popups for explination of the options. Adding popup behavior to the core admin pages has been moved to popups_admin.

@return: Array of link selectors to apply popup behavior to. Keyed by path or form_id.

File

./popups_test.module, line 56
Page for testing the Popups API.

Code

function popups_test_popups() {
  return array(
    'popups/test' => array(
      // test page.
      //    '*' => array( // test page.
      '#test-popup' => array(),
    ),
  );
}