Projet

Général

Profil

Révision 5d12d676

Ajouté par Assos Assos il y a environ 6 ans

Weekly update of contrib modules

Voir les différences:

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' =&gt; t('Nid'),
173
  'help' =&gt; t('The node ID of the node.'), // The help that appears on the UI,
174
  // The help that appears on the UI,
175
  'help' =&gt; t('The node ID of the node.'),
174 176
  // Information for displaying the nid
175 177
  'field' =&gt; array(
176 178
    'handler' =&gt; 'views_handler_field_node',
......
179 181
  // Information for accepting a nid as an argument
180 182
  'argument' =&gt; array(
181 183
    'handler' =&gt; 'views_handler_argument_node_nid',
182
    'name field' =&gt; 'title', // the field to display in the summary.
184
    // The field to display in the summary.
185
    'name field' =&gt; 'title',
183 186
    'numeric' =&gt; TRUE,
184 187
    'validate type' =&gt; 'nid',
185 188
  ),

Formats disponibles : Unified diff