This accepts views arguments as well:
{{ drupal_view('who_s_new', 'block_1') }}
{{ drupal_view('who_s_new', 'block_1' 'contextarg1', 'contextarg2', '...') }}
| @DATABASE@__%Y-%m-%d_%H-%M-%S |
| $estadosBrasileiros = array( | |
| 'AC'=>'Acre', | |
| 'AL'=>'Alagoas', | |
| 'AP'=>'Amapá', | |
| 'AM'=>'Amazonas', | |
| 'BA'=>'Bahia', | |
| 'CE'=>'Ceará', | |
| 'DF'=>'Distrito Federal', | |
| 'ES'=>'Espírito Santo', | |
| 'GO'=>'Goiás', |
In this snippet I've gathered some examples and cases about how to get taxonomy terms programmatically in Drupal, using always the same method and the same mechanics: get terms and then processing it in order to get only the required under certain criteria.