You are here

function views_atom_get_feed_displays_options in Views Atom 7

Returns views_atom displays in a form usable for Rules forms.

Return value

array

1 string reference to 'views_atom_get_feed_displays_options'
views_atom_rules_action_info in ./views_atom.rules.inc
Implements hook_rules_action_info().

File

./views_atom.rules.inc, line 119

Code

function views_atom_get_feed_displays_options() {
  $options = array();
  foreach (views_atom_get_feed_displays() as $entry) {
    $options[$entry['title']][$entry['name'] . '-' . $entry['display']] = $entry['display_title'];
  }
  return $options;
}