You are here

function panelizer_allowed_content_page in Panelizer 7

Same name and namespace in other branches
  1. 6 includes/admin.inc \panelizer_allowed_content_page()
  2. 7.3 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
Implements hook_menu().

File

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

Code

function panelizer_allowed_content_page($type, $key) {
  if (!panelizer_is_panelized($type, $key)) {
    return MENU_NOT_FOUND;
  }
  ctools_include('common', 'panels');
  return drupal_get_form('panels_common_settings', 'panelizer_' . $type . ':' . $key);
}