You are here

function panels_node_add in Panels 6.3

Same name and namespace in other branches
  1. 5.2 panels_node/panels_node.module \panels_node_add()
  2. 6.2 panels_node/panels_node.module \panels_node_add()
  3. 7.3 panels_node/panels_node.module \panels_node_add()
1 string reference to 'panels_node_add'
panels_node_menu in panels_node/panels_node.module
Implementation of hook_menu().

File

panels_node/panels_node.module, line 121
panels_node.module

Code

function panels_node_add() {
  $output = '';
  ctools_include('plugins', 'panels');
  ctools_include('common', 'panels');
  $layouts = panels_common_get_allowed_layouts('panels_node');
  return panels_common_print_layout_links($layouts, 'node/add/panel', array(
    'query' => $_GET,
  ));
}