You are here

function panelizer_allowed_content_page in Panelizer 6

Same name and namespace in other branches
  1. 7.3 includes/admin.inc \panelizer_allowed_content_page()
  2. 7 includes/admin.inc \panelizer_allowed_content_page()
  3. 7.2 includes/admin.inc \panelizer_allowed_content_page()

Page to configure what content is available for a given node type.

1 string reference to 'panelizer_allowed_content_page'
panelizer_menu in ./panelizer.module
Implementation of hook_menu().

File

includes/admin.inc, line 223
Contains administrative forms and settings.

Code

function panelizer_allowed_content_page($type, $key) {
  if (!panelizer_is_panelized($type, $key)) {
    return MENU_NOT_FOUND;
  }

  // Drupal kills our breadcrumb. Put it back.
  ctools_include('menu');
  ctools_menu_set_trail_parent('admin/settings/panelizer');
  ctools_include('common', 'panels');
  return drupal_get_form('panels_common_settings', 'panelizer_' . $type . ':' . $key);
}