Révision 5d12d676
Ajouté par Assos Assos il y a environ 6 ans
drupal7/sites/all/modules/views/help/api-tables.html | ||
---|---|---|
169 | 169 |
|
170 | 170 |
<pre> |
171 | 171 |
$data['node']['nid'] = array( |
172 |
// The item it appears as on the UI, |
|
172 | 173 |
'title' => t('Nid'), |
173 |
'help' => t('The node ID of the node.'), // The help that appears on the UI, |
|
174 |
// The help that appears on the UI, |
|
175 |
'help' => t('The node ID of the node.'), |
|
174 | 176 |
// Information for displaying the nid |
175 | 177 |
'field' => array( |
176 | 178 |
'handler' => 'views_handler_field_node', |
... | ... | |
179 | 181 |
// Information for accepting a nid as an argument |
180 | 182 |
'argument' => array( |
181 | 183 |
'handler' => 'views_handler_argument_node_nid', |
182 |
'name field' => 'title', // the field to display in the summary. |
|
184 |
// The field to display in the summary. |
|
185 |
'name field' => 'title', |
|
183 | 186 |
'numeric' => TRUE, |
184 | 187 |
'validate type' => 'nid', |
185 | 188 |
), |
Formats disponibles : Unified diff
Weekly update of contrib modules