Adding to existing arrays?
Posted by robertDouglass on April 18, 2006 at 2:08pm
Given this existing code:
function node_views_tables() {
$tables['node'] = array(
'name' => 'node',
'provider' => 'internal', // won't show up in external list.
'fields' => array(
'title' => array(
'name' => t('Node: Title'),
'handler' => array(
'views_handler_field_nodelink' => t('Normal'),
'views_handler_field_nodelink_with_mark' => t('With updated mark')
),
'sortable' => true,
'addlfields' => array('changed'),
'help' => t('Display the title of the node.'),
),