I've been studying the code for noggin.module

$form['var']['#value'] seems like a more reliable way to get the settings inside hook_form_alter(). It contains the name of the variable, which can be passed to variable_get().

$form_state['values']['var'] also provides the variable name.

Comments

andrewmacpherson’s picture

Assigned: andrewmacpherson » Unassigned
Issue summary: View changes
astonvictor’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

D7 reached its EOL back in January 2025, and there is no active release for D7 for this module anymore.
Development or support is not planned for D7. All D7-related issues are marked as outdated in a bunch.

Now that this issue is closed, please review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, please credit people who helped resolve this issue.