Closed (won't fix)
Project:
Drupal core
Version:
8.0.x-dev
Component:
base system
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
13 Dec 2011 at 20:43 UTC
Updated:
29 Jul 2014 at 20:14 UTC
Process all the variables as one for a module to improve performance for modules with a lot of variables. Process them as an object to help organise the variables for the module and create an effective namespace.
I created a module for D7, http://petermoulding.com/variable_module, to add the OO approach on top of the current get/set/del functions. The approach could easily be implemented with the object behind the current functions for a transitional period in Drupal 8 then the current functions could be dropped in Drupal 9.
Comments
Comment #1
gddGiven that the entire variable system is being removed in Drupal 8 in favor of the new configuration system, I'm marking this Won't Fix.