updated contrib modules
This commit is contained in:
@@ -169,8 +169,10 @@ Each field is described in the view data with an array, keyed to the database na
|
||||
|
||||
<pre>
|
||||
$data['node']['nid'] = array(
|
||||
// The item it appears as on the UI,
|
||||
'title' => t('Nid'),
|
||||
'help' => t('The node ID of the node.'), // The help that appears on the UI,
|
||||
// The help that appears on the UI,
|
||||
'help' => t('The node ID of the node.'),
|
||||
// Information for displaying the nid
|
||||
'field' => array(
|
||||
'handler' => 'views_handler_field_node',
|
||||
@@ -179,7 +181,8 @@ $data['node']['nid'] = array(
|
||||
// Information for accepting a nid as an argument
|
||||
'argument' => array(
|
||||
'handler' => 'views_handler_argument_node_nid',
|
||||
'name field' => 'title', // the field to display in the summary.
|
||||
// The field to display in the summary.
|
||||
'name field' => 'title',
|
||||
'numeric' => TRUE,
|
||||
'validate type' => 'nid',
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user