How to get taxonomy vocabulary id(vid) by machine name in Drupal.
Source code viewer$vid = taxonomy_vocabulary_machine_name_load('vocabulary_machine_name');$vid = $vid->vid;Programming Language: PHP