You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/** * Form submission handler for devel_variable_edit(). */functiondevel_variable_edit_submit($form, &$form_state) {
variable_set($form_state['values']['name'], $form_state['values']['new']);
drupal_set_message(t('Saved new value for %name.', array('%name' => $form_state['values']['name'])));
'devel/variable';
}
The text was updated successfully, but these errors were encountered:
...we have moved to config in Backdrop. So does it make sense to have respective functions, or should we provide deprecated wrapper functions for them?
Hm, Backdrop does still have the variables table, even though it's not used in core and deprecated. I'm not much a fan of including functionality for it in Devel.
As for an analogue in Backdrop, editing config files is much easier than manipulating a database table with serialized values. And if you want a UI for editing values, you can use the existing config import UI to modify individual files.
In
devel.pages.inc
, betweendevel_field_info_page()
anddevel_session()
:The text was updated successfully, but these errors were encountered: