You are here

function rb_views_get_views_handlers in Rules Bonus Pack 7

Returns a list of all handler types for Views, plus handler labels.

3 calls to rb_views_get_views_handlers()
rb_views_create_view_representation in ./rb_views.module
Creates a new view representation array from a given view object.
rb_view_update_real_view in ./rb_views.module
Updates a view object according to any changes made to a view representation.
_rb_views_views_display_info in ./rb_views.rules.inc
Defines the properties of the views display data structures.
1 string reference to 'rb_views_get_views_handlers'
rb_views_rules_action_info in ./rb_views.rules.inc
Implements hook_rules_action_info().

File

./rb_views.module, line 154
Globally available functions for Rules' Views integration.

Code

function rb_views_get_views_handlers() {
  return array(
    'field' => t('View field'),
    'argument' => t('Contextual filter'),
    'sort' => t('Sort criteria'),
    'filter' => t('Filter'),
    'relationship' => t('Relationship'),
    'header' => t('Header'),
    'footer' => t('Footer'),
    'empty' => t('No result reaction'),
  );
}