You are here

function _classified_scheduled_page_notify in Classified Ads 7.3

Same name and namespace in other branches
  1. 6.3 classified.scheduled.inc \_classified_scheduled_page_notify()

Page callback for notifications.

Parameters

string $kind: A notification kind from _classified_get_notify_kinds().

Return value

string A string instead of a render array, because there is not much to say.

1 string reference to '_classified_scheduled_page_notify'
classified_menu in ./classified.module
Implements hook_menu().

File

./classified.scheduled.inc, line 336
Scheduled operations for classified.module.

Code

function _classified_scheduled_page_notify($kind) {
  _classified_scheduled_build_notify($kind);
  drupal_set_breadcrumb(_classified_get_breadcrumb_by_term(NULL));
  return t('<p>Thanks for triggering our @kind notification process.</p>', array(
    '@kind' => $kind,
  ));
}