function entity_metadata_form_taxonomy_vocabulary in Entity API 7
Callback to get the form of a vocabulary.
1 string reference to 'entity_metadata_form_taxonomy_vocabulary'
- _entity_info_add_metadata in ./
entity.module - Adds metadata and callbacks for core entities to the entity info.
File
- modules/
callbacks.inc, line 1049 - Provides various callbacks for the whole core module integration.
Code
function entity_metadata_form_taxonomy_vocabulary($vocab) {
// Pre-populate the form-state with the right form include.
$form_state['build_info']['args'] = array(
$vocab,
);
form_load_include($form_state, 'inc', 'taxonomy', 'taxonomy.admin');
return drupal_build_form('taxonomy_form_vocabulary', $form_state);
}