Skip to content

variable_get('...', array()) leads to "dynamic value..." in config, .install #43

@bugfolder

Description

@bugfolder

A variable_get() that is initialized from an empty array, e.g., variable_get('mymodule_setting', array()), leads to a "dynamic value in file..." value in the config file and install function. Since empty arrays are relatively common initialization values, it would be nice to catch this situation and properly set the config and install values.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions