You are here

function _spaces_calendar_alter_links in Spaces 5.2

Same name and namespace in other branches
  1. 5 spaces_calendar/spaces_calendar.module \_spaces_calendar_alter_links()
3 calls to _spaces_calendar_alter_links()
spaces_calendar_form_alter in spaces_calendar/spaces_calendar.module
Implementation of hook_form_alter()
spaces_calendar_nodeapi in spaces_calendar/spaces_calendar.module
Implementation of hook_nodeapi()
spaces_calendar_views_post_view in spaces_calendar/spaces_calendar.module

File

spaces_calendar/spaces_calendar.module, line 588

Code

function _spaces_calendar_alter_links() {
  if (context_get('spaces', 'feature') == 'calendar') {
    $links = array();
    $links['feed_ical_item'] = null;
    context_set('spaces', 'links', $links);
  }
}