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.


vijaycs85’s picture

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.

ayelet_Cr’s picture

Status: Closed (won't fix) » Active
disasm’s picture

Assigned: Unassigned » disasm
Sean Buscay’s picture

Assigned: disasm » Sean Buscay
vijaycs85’s picture

Issue tags: +LONDON_2013_AUGUST

Working on this as part of London sprint.

mrded’s picture

Status: Active » Postponed (maintainer needs more info)

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

 * 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');
disasm’s picture

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.