Install

Works with Drupal: 7.x

Using Composer to manage Drupal site dependencies

Downloads

Download variable-7.x-2.0.tar.gztar.gz 51.06 KB
MD5: 8360a99fe685553a71ebb8f2b2de9537
SHA-1: a0daba79f9fd0b18147099bd48f51dc95912e096
SHA-256: 926392703da44161312b5d02eeb6f2b716f954f550486b62f9663f859334b9e3
Download variable-7.x-2.0.zipzip 73 KB
MD5: 7d1ea9e819a5c9d47b47440b266d2dc4
SHA-1: 07469da49c033f6af20e82a1d5edcab9aeca4ef2
SHA-256: a0a83e1562f1e40d384c3eaaad8fc0c9b3fb275f699c822011ac37e1f2bf9206

Release notes

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.
6c5b516 Issue #1190452 by Boobaa, coleman.sean.c, Jose Reyero: Implement 'validate callback' for some variables / variable types.
66e26b9 Issue #1559674: Removed dpm()
7c52355 Issue #1559674: Fixed return value in variable_format_string/text
ff11803 Issue #1559674: Fixed String type variables being wrapped with

tags when displayed with tokens. Improved 'string' and 'text' format will 'allowed tags'
2d7ca8e Issue #1201818: Added Drush commands for Variable / Variable Realms.
613fe83 Issue #1594656 by etrometer, Jose Reyero: Htmlspecialchars() expects parameter 1 to be string. Added 'properties' variable type. Better format.
55b66f8 Issue #1585946 by bforchhammer, Jose Reyero: Fixed language_default() form element ignores existing value.
0bddf85 Issue #1593398 by bforchhammer, Jose Reyero: Fixed Variable realm selector value lost after form submission.
065bfa0 Fixed variables passing to form altering functions, need to pass children variables instead of top level ones.
32f3019 Issue #1593962 by bforchhammer: Fixed realm-specific theme settings.
28ebd8c Set temporary module version for i18n_variable dependecy to work.
71ea302 Minor improvements, clean up variable_store, better reset, static caching and removing variable_store_variable_delete.
4e4899d Issue #1567232 by Jose Reyero: API improvements for Variable Realm. Simplified realm hooks, now everything is in hook_variable_realm_info
fb765c0 Fixed documentation and minor API issues.
81009ab Issue #1567232 by Jose Reyero: API improvements for Variable Realm. Partial rework using more classes.
4d6f5d2 Issue #1565292: Union module needs to make sure that realm switchers are shown for all subrealms.
53585c3 Added metadata about variable_realm_weight_ variable. Do not show empty groups in variable admin page.
1dc4360 Fixed variable information for variable_realm_list_
73b44ae Moving module variable_realm_union from domain_variable.
eb77158 Added some documentation for new hooks. Added hook_variable_realm_info_alter() to module hooks.
25ce8b3 Improved variable_realm_controller() to return list of all controllers.
0a1464e Issue #1567232 by Jose Reyero: API improvements for Variable Realm. Added some more options and hook_variable_realm_params_alter().
a92f6de Issue #1567232 by Jose Reyero: API improvements for Variable Realm. Added hook_variable_realm_info_alter()
d84db0d Issue #1567232 by Jose Reyero: API improvements for Variable Realm. Added 'keys callback' and 'list callback' support in variable_realm_info(). Resolve variable conflict
99e2f45 Issue #1567232 by Jose Reyero: API improvements for Variable Realm. Order realms by weight in variable_realm_list()
47e7f32 Issue #1567232: API improvements for Variable Realm: removed old code (cleanup)
7cc2c06 Issue #1567232: API improvements for Variable Realm: fixed realm switcher on variable edit pages.
fbc9ed5 Issue #1567232: API improvements for Variable Realm: removed drupal_strtolower call on t() parameter.
e8cde18 Issue #1567232: API improvements for Variable Realm: fixed variable_realm_hook_info().
648694e Issue #1567232: API improvements for Variable Realm: fixed realm info page
5bac7ef Issue #1567232 by Jose Reyero: API improvements for Variable Realm. Added hook_variable_realm_variable_list_alter()
444d332 Various documentation fixes.
c016b4b Issue #1567232 by Jose Reyero: API improvements for Variable Realm. Auto generated settings forms for variable realms.
b56563a Issue #1567232 by Jose Reyero: API improvements for Variable Realm. Improved per realm/key settings forms.
b490302 Redefined variable_realm_info() to avoid static cache clash with variable system.
548d6ea Issue #1567232 by Jose Reyero: API improvements for Variable Realm. Introducing hook_variable_settings_form_alter()
12a5abe Issue #1567232 by Jose Reyero: API improvements for Variable Realm. Moving hook_variable_realm_switch() to realm module.
34c7e3d Fixing issues with variable_realm API and tests.
8331088 Issue #1567232 by Jose Reyero: API improvements for Variable Realm. Passing realm as options, more flexible functions.
b490302 Redefined variable_realm_info() to avoid static cache clash with variable system.
548d6ea Issue #1567232 by Jose Reyero: API improvements for Variable Realm. Introducing hook_variable_settings_form_alter()
12a5abe Issue #1567232 by Jose Reyero: API improvements for Variable Realm. Moving hook_variable_realm_switch() to realm module.
34c7e3d Fixing issues with variable_realm API and tests.
8331088 Issue #1567232 by Jose Reyero: API improvements for Variable Realm. Passing realm as options, more flexible functions.
9d4e4d8 Issue #1567232 by Jose Reyero: API improvements for Variable Realm. Variable realm edit form.
890d23f Issue #1567232 by Jose Reyero: API improvements for Variable Realm. Skeleton for form builder.
de01286 Issue #1568862 by Jose Reyero: Fixed default value in variable_store_list_all()
8658536 Issue #1568862 by Jose Reyero: Updates for Variable Realm API improvements. Fixing some issues.
ea688e4 Merging latest code, cleaning up module.
29f618b Merge branch '7.x-1.x' of git.drupal.org:project/variable into 7.x-1.x
c98f4ec Issue #1568862 by Jose Reyero: Updates for Variable Realm API improvements.
ce86ff2 Removed dpm() + whitespace cleanup
382e06e Issue #1564462 by bforchhammer: Added Admin UI for variable_realm() module.

Created by: Jose Reyero
Created on: 20 Jun 2012 at 20:39 UTC
Last updated: 7 Nov 2013 at 21:50 UTC
New features
Bug fixes

Other releases