Retrieving a list from Content Type field in Drupal 7
问题 I'm sort of new to Drupal 7. I am using Drupal Form API and I need to use a drop-down showing a list of states via the mymodule_forms hook. $form['work_state'] = array( '#title' => t('Work State'), '#type' => 'select', ... ); I already have a list of states defined in a Content Type field. How would one go around loading the Content Type (ie: forms_stipend) and retrieving the field (ie: field_states). After that is retrieved, I can start populating the available list of states into the code