I need to have a list of all available view modes for an entity type so I can use it as the
#options in a select field.
Any ideas? Thanks
Drupal Answers is a question and answer site for Drupal developers and administrators. It only takes a minute to sign up.Sign up to join this community
You may also want to use this function...