You are here

function calendar_plugin_display_page::render in Calendar 7.2

Same name and namespace in other branches
  1. 6.2 includes/calendar_plugin_display_page.inc \calendar_plugin_display_page::render()
  2. 7 includes/calendar_plugin_display_page.inc \calendar_plugin_display_page::render()

Render this display.

Overrides views_plugin_display::render

File

includes/calendar_plugin_display_page.inc, line 18
Views page plugin for the Calendar module.

Class

calendar_plugin_display_page
The plugin that handles a full calendar page.

Code

function render() {
  if (!empty($this->view->date_info->forbid)) {
    drupal_not_found();
    exit;
  }
  return parent::render();
}