Revision: 26200
Updated Code
at December 12, 2010 09:23 by karmacode
Updated Code
function gar_v2_default_page_manager_handlers(){ $handlers = array(); $path = dirname(__FILE__) . '/panels/task_handlers'; $files = drupal_system_listing('.inc$', $path, 'name', 0); foreach ($files as $file) { include ($file->filename); if (!empty($handler->name)) { $handlers[$handler->name] = $handler; } } return $handlers; }
Revision: 26199
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at April 20, 2010 12:54 by karmacode
Initial Code
/** * Implementation of hook_default_page_manager_pages() */ function hook_default_page_manager_pages() { $pages = array(); $path = drupal_get_path('module', 'site') . '/panels'; $files = drupal_system_listing('.inc$', $path, 'name', 0); foreach ($files as $file) { include_once $file->filename; if (!empty($page->name)) { $pages[$page->name] = $page; } } return $pages; }
Initial URL
Initial Description
Initial Title
Generic page handler function
Initial Tags
drupal
Initial Language
PHP