function devel_generate_get_terms

File

devel_generate/devel_generate.inc, line 302

Code

function devel_generate_get_terms($vids) {
    return db_select('taxonomy_term_data', 'td')->fields('td', array(
        'tid',
    ))
        ->condition('vid', $vids, 'IN')
        ->orderBy('tid', 'ASC')
        ->execute()
        ->fetchCol('tid');
}