As described in Simple Configuration API, modules should have a .yml file for their configuration objects in their config/install directory.

For this issue to be completed, it is necessary to:

  • Change the name of the configuration object from cookieyes_scripts.body.settings to cookieyes_scripts.settings
  • Add an update hook to store the settings in the new configuration object
  • Add a config/install/cookieyes_scripts.settings.yml containing the default values
Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

apaderno created an issue. See original summary.

avpaderno’s picture

Issue summary: View changes

(I forgot the link for the documentation page.)

avpaderno’s picture

Issue summary: View changes

avpaderno’s picture

Status: Active » Needs review

apaderno changed the visibility of the branch 3447144-save-the-default-values-in-config-install to hidden.

  • apaderno committed bf21fce5 on 2.0.x
    Issue #3447144: Save the default values for the configuration object in...
avpaderno’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.