You are here

function og_views_views_pre_view in Organic groups 6

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

An implementation of hook_views_pre_view().

File

modules/og_views/og_views.module, line 226

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'));
    }
  }
}