All pastes #988840 Raw Edit

Anonymous

public text v1 · immutable
#988840 ·published 2008-04-17 22:22 UTC
rendered paste body
Why doesn't this make a field "TEST" show up in Views?

function mymodule_views_tables() {
  $tables['biblio'] = array(
    'name' => 'biblio',
    'join' => array(
      'left' => array(
        'table' => 'node',
        'field' => 'nid'
      ),
      'right' => array(
        'field' => 'nid'
      ),
    ),
    'fields' => array(
      'nid' => array(
        'name' => t('TEST'),
        'help' => t('TEST'),
      ),
    ),
  );
  return $tables;
}