You are here

function og_views_views_pre_view in Organic groups 6.2

Same name and namespace in other branches
  1. 6 modules/og_views/og_views.module \og_views_views_pre_view()

Implementation of hook_views_pre_view().

File

modules/og_views/og_views.module, line 251

Code

function og_views_views_pre_view(&$view, &$display_id, &$args) {
  if ($view->name == 'og_my') {
    if (!$view->display_handler
      ->get_option('footer')) {
      $view->attachment_after = theme('opml_icon', url('og/opml'));
    }
  }
}