You are here

function panels_page_access_handler in Panels 6.2

Check whether the current page request is allowed.

Note that this handler is ONLY used by static panel_pages; the rest are all handled internally by the master loader.

TODO this is still fairly hackish, and we also really may need to add support for these checks for dynamic panels_pages...

Return value

boolean

1 string reference to 'panels_page_access_handler'
panels_page_construct_static_menu_link in panels_page/panels_page.menu.inc
Build a panels_page menu entry for a static panels_page.

File

panels_page/panels_page.module, line 223
panels_page.module

Code

function panels_page_access_handler() {
  panels_page_load_include('read');
  $args = func_get_args();
  $name = array_shift($args);
  return (bool) panels_page_access($name);
}