You are here

function dnd_test_dnd_library in Scald: Media Management made easy 6

Overloaded page callback.

1 string reference to 'dnd_test_dnd_library'
dnd_test_menu in dnd/modules/dnd_test/dnd_test.module
Implementation of hook_menu().

File

dnd/modules/dnd_test/dnd_test.module, line 70

Code

function dnd_test_dnd_library($element = NULL) {
  $page = array_key_exists('page', $_GET) ? $_GET['page'] : 1;
  drupal_add_css(drupal_get_path('module', 'dnd_test') . '/dnd_test.css');
  drupal_json(dnd_test_generate_library($page));
}