function panels_nid_panels_arguments in Panels 5.2
Same name and namespace in other branches
- 6.2 arguments/nid.inc \panels_nid_panels_arguments()
@file arguments/nid.inc
Plugin to provide an argument handler for a node id
File
- arguments/
nid.inc, line 9 - arguments/nid.inc
Code
function panels_nid_panels_arguments() {
$args['nid'] = array(
'title' => t("Node ID"),
// keyword to use for %substitution
'keyword' => 'node',
'description' => t('Restricts the argument to a node id.'),
'context' => 'panels_nid_context',
'settings form' => 'panels_nid_settings_form',
'settings form submit' => 'panels_nid_settings_form_submit',
'displays' => 'panels_nid_displays',
'choose display' => 'panels_nid_choose_display',
);
return $args;
}