Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Maintenance release:
- Issue #2174687 by Jose Reyero | malks: Viewing multilingual variables doesn't show the actual value of the variable
- Issue #2231365. Added documentation for hook_variable_xxx_info_alter()
- Issue #2185595 by mrfelton: Required setting not honoured for number variables.
- Issue #2182507... (Comments to previous commit)
- Issue #2182507 by stefan.korn: Problem saving variable for language realm since 7.x-2.4.
Check out some new modules in Variable Extra, http://drupal.org/project/variable_extra
Issue #2172343 by Jose Reyero: Move Variable Advanced submodule to Variable Extra
Issue #2173083 by Jose Reyero: Add submit callback and better validate callback for variables in form.
Issue #2172641 by Jose Reyero: Move variable_form_element_validate() so it can be used by ajax callbacks.
Maintenance release. Changes since 7.x-2.1:
Issue #1797652 by Patrick R.: Fixed Bug in locale_variable_language_element_validate().
Issue #1786156: Bad translations of character count.
Issue #1670238 by mkalkbrenner: variable_realm randomly breaks custom realms
Issue #1741148 by lund.mikkel: Fixed Bad translation of causes html errors when importing.
issue #1737070 by mkalkbrenner: variable_realm_set() should trigger hook_variable_update()
Important notes:
- If using Internationalization(i18n), this version of Variable requires i18n > 7.x-1.6
- Fixed multiple issues blocking automatic updates of variable + i18n, http://drupal.org/node/1666670
Important note:
- If using Internationalization(i18n), this version of Variable requires i18n > 7.x-1.6
API Improvements and new features:
- Added support for multiple realms, properly handling settings forms.
- Support for Variable Domain module (alternate for domain variables).
- Exportable variable realms (can be used for multilingual variables).
- Drupal support for variable_realm_set, variable_realm_get
Full list:
d2742ef Issue #1612484 by bforchhammer: Fixed features integration (2.x branch).
14615d4 Issue #1448650 by axel.rutz, Jose Reyero: Fixed Let variable UI respect hook_variable_update().
3b749dd Fixed minor issues: broken link from admin pages to variable realms and realm edit forms not redirecting properly to currently selected realm.
254d0b2 Issue #1605670 by bforchhammer, Jose Reyero: Properly handling variable realms for admin forms.
74913da Issue #1605670 by bforchhammer, Jose Reyero: Merging variable_realm_admin into variable_admin.
37626e8 Issue #1605670 by bforchhammer, Jose Reyero: Fixing realm switcher in variable admin pages.
2a6a051 Issue #1593408: Added Improve usability of variable configuration page.
d4c6573 Issue #1508782 by axel.rutz, Jose Reyero: Fixed access not inherited for multiple variable.
17acffe Issue #1594656, make module bootstrap not crash when classes missing, for module updates.
Overview of improvements:
- Added new variable types, extended the API, some Views support.
- Fixed multiple issues and improved API consistency.
- Added documentation, tests and variable example module.
- Added features export for full variable realms.
Full list of changes:
1810611 Issue #1219724 by Jose Reyero: Better handling of array and multiple variables. Moved format function to main module.
7ca285a Issue #1219724 by Jose Reyero: Better handling of array and multiple variables.
5d18b7c Issue #1430126 by Jose Reyero: Add tests and example module.
b07dde6 Issue #1395746: Added Views contextual filter integration and some more views support.
178af72 Better formatting for unknown variables.
d7cee4a Issue #1508796 by El Matador Y Ty...: Localize 'text_format()' variable type.
197e31b Issue #1510406 by Jose Reyero: API improvements: variable_store_delete_all(), variable_store_list_all().
6b9d046 Issue #1086986 by Jose Reyero: Features support for Variable store (multilingual variables, strongarm support, variable re
6b419a1 Issue #1491160 by Jose Reyero: Variable Realm / Store API clean up.
86f981f Issue #1370518 by B-Prod, bastnic: Fixed variable_realm() not used.
9cef74f Issue #1430126 by Jose Reyero: Add tests and example module for variable store/realms.
4e27d69 Added some pages to variable example.
90dff9d Issue #1232286: Added Account cancellation confirmation email variable not declared.
66969d4 Issue #1203044 by Sweetchuck, Jose Reyero: Fixed Radios does not support the option groups.
01d311f Issue #1218698 by q0rban, Jose: Fixed Using variable_get_value() in hook_url_outbound_alter() causes infinite recursion.
a1236b0 Added Variable Advanced module for some hidden variables. Changed default language to regional settings.
a26a9bc Added language default variable and group for advanced settings.
Improved handling of multiple and array variables:
dcb20a7 Proper formatting for array variables with multiple options
3ff9e65 Proper callback for country list, need to include locale.inc
788c3bf Function variable_get_info() now supports children variables too. Better handling of unknown variables.
0888121 Accept different index and variable name for variable table form
6953a62 Improved variable API: variable_find() to find info for children and parent variables
08fbe00 Improved some variable names (site, unknown)
Updating from http://github.com/josereyero/variable
146184c Display select variables depending on the number of options
7e76a55 Added some API documentation
25b99db Simplified defaults for multiple variables
037ae70 Simplified notation and handling for multiple variables
be45ae1 Merge branch 'master' of github.com:josereyero/variable
08ebd38 Enabled localization for path variables
Updating from http://github.com/josereyero/variable
80046e3 Added debug group. Fixed some issues.
0a205f4 Added variable_subform() and variable_fieldset element type
e7a3eb3 Fixed some issues with multiple variable options
7b152db Better names for multiple variables, will avoid potential clashes: variable_name_[type]
a9f34dd Fixed typo on install file
New features:
- Variable Realms, an arbitrator for multiple modules overriding variables
- Variable Store, database storage for variable realms
Updating from Updating from http://github.com/josereyero/variable
6f59cf3 Added some README files with notes on API usage
3f963a3 New variable store module
991a7f1 Better rebuilding options
aad4bfb Updated and simplified variable realms API
Updating from http://github.com/josereyero/variable
106fa4c Added variable_children() to spawn multiple variable names
d8cbaa6 Better forms for array variables
26671f7 Better handling for theme variables
0d8246f Added theme settings to variables list
Drupal 7 - First release
- Reworked and simplified Variable API
- Fully functional Variable Admin module
- Implemented variable info hooks for some core modules.