Part of #1971384: [META] Convert page callbacks to controllers

For instructions on how to convert a page callback into a controller, see the WSCCI Conversion Guide.

Comments

Status:Active» Closed (won't fix)

Need to rewrite the whole module to make test sync with current test implementation. For more details, please refer: #1988802: [META] Rewrite test modules in system to provide better unit testing.

Status:Closed (won't fix)» Active

Assigned:Unassigned» disasm

Assigned:disasm» Sean Buscay

Issue tags:+LONDON_2013_AUGUST

Working on this as part of London sprint.

Status:Active» Postponed (maintainer needs more info)

I just noticed that drupal_session_will_start() doesn't exist at all.

<?php
/**
* Menu callback, stores a value in $_SESSION['session_test_value'] without
* having started the session in advance.
*/
function _session_test_set_not_started() {
  if (!
drupal_session_will_start()) {
   
$_SESSION['session_test_value'] = t('Session was not started');
  }
}
?>

Status:Postponed (maintainer needs more info)» Closed (duplicate)

Please work on this here: #1987572: Convert session_test callbacks to a new style controller. There's already a patch that has conversions for all the session_test callbacks. It just needs the tests fixed.