function page_manager_contact_site

cis7 contact_site.inc page_manager_contact_site()
cle7 contact_site.inc page_manager_contact_site()
elmsmedia7 contact_site.inc page_manager_contact_site()
icor7 contact_site.inc page_manager_contact_site()
meedjum_blog7 contact_site.inc page_manager_contact_site()
mooc7 contact_site.inc page_manager_contact_site()

Entry point for our overridden site contact.

This function asks its assigned handlers who, if anyone, would like to run with it. If no one does, it passes through to Drupal core's node edit, which is node_page_edit().

3 string references to 'page_manager_contact_site'
at_generate_html_classes in sites/all/themes/ulmus/adaptivetheme/at_core/inc/generate.inc
Return an array of classes to be used for body classes in html.tpl.php
page_manager_contact_site_menu_alter in sites/all/modules/ulmus/ctools/page_manager/plugins/tasks/contact_site.inc
Callback defined by page_manager_contact_site_page_manager_tasks().
zurb_foundation_preprocess_html in sites/all/themes/local_contrib/zurb-foundation/template.php
Implements template_preprocess_html().

File

sites/all/modules/ulmus/ctools/page_manager/plugins/tasks/contact_site.inc, line 74

Code

function page_manager_contact_site() {
  // Load my task plugin
  $task = page_manager_get_task('contact_site');

  ctools_include('context');
  ctools_include('context-task-handler');
  $output = ctools_context_handler_render($task, '', array(), array());
  if ($output !== FALSE) {
    return $output;
  }

  module_load_include('inc', 'contact', 'contact.pages');
  $function = 'contact_site_form';
  foreach (module_implements('page_manager_override') as $module) {
    $call = $module . '_page_manager_override';
    if (($rc = $call('contact_site')) && function_exists($rc)) {
      $function = $rc;
      break;
    }
  }

  // Otherwise, fall back.
  if ($function == 'contact_site_form') {
    return drupal_get_form($function);
  }

  return $function();
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.