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

vijaycs85’s picture

Title: Convert views_ajax() to a new style controller » Convert variable_get() to a new style controller
Component: views.module » system.module
dawehner’s picture

Status: Active » Fixed

variable_get() is just a plain old function which will be removed by CMI.

dawehner’s picture

Title: Convert variable_get() to a new style controller » Convert VariableTest to a
Status: Fixed » Active

Tim showed me http://api.drupal.org/api/drupal/core!modules!system!tests!modules!syste... which had all this page callbacks.

I think what we should do instead is to rewrite the tests instead.

dawehner’s picture

Title: Convert VariableTest to a » Convert VariableTest to a more unit-like test
damiankloip’s picture

CMI will test this stuff pretty extensively, no?

dawehner’s picture

Status: Active » Fixed

Well, just in general variable-get tests don't have to be converted at all, so let's skip it.

Automatically closed -- issue fixed for 2 weeks with no activity.