You are here

function panels_node_add_panels_arguments in Panels 6.2

Same name and namespace in other branches
  1. 5.2 arguments/node_add.inc \panels_node_add_panels_arguments()

@file arguments/nid.inc

Plugin to provide an argument handler for a Node add form

File

arguments/node_add.inc, line 9
arguments/nid.inc

Code

function panels_node_add_panels_arguments() {
  $args['node_add'] = array(
    'title' => t("Node add form"),
    // keyword to use for %substitution
    'keyword' => 'node_type',
    'description' => t('Displays the node add form for a content type.'),
    'context' => 'panels_node_add_context',
    'settings form' => 'panels_node_add_settings_form',
    'settings form submit' => 'panels_node_add_settings_form_submit',
    'displays' => 'panels_node_add_displays',
    'choose display' => 'panels_node_add_choose_display',
    'menu builder' => 'panels_node_add_menu_builder',
  );
  return $args;
}