/** * Implementation of hook_views_tables(). * * Exposes blog information to the views system. */ function bloginfo_views_tables() { $tables['bloginfo'] = array( 'name' => 'bloginfo', 'join' => array( 'left' => array( 'table' => 'node', 'field' => 'uid' ), 'right' => array( 'field' => 'uid' ), ), 'fields' => array( 'title' => array( 'name' => t('Bloginfo: Title'), 'sortable' => true, 'help' => t('This will display the blogino title.'), ), 'description' => array( 'name' => t('Bloginfo: Description'), 'sortable' => false, 'help' => t('This will display the bloginfo description.'), ), ), ); return $tables; }