I want to override the token value in my settings.php:

...
$secrets = json_decode(file_get_contents($secretsFile), TRUE);
if (isset($secrets['instagram_nodes__token'])) {
  $config['instagram_nodes.config']['token'] = $secrets['instagram_nodes__token'];
}
...

But it is not working with the actual code. I will create a patch to address this.

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

rpayanm created an issue. See original summary.

rpayanm’s picture

Status: Active » Needs review

Please review.

  • 38e9fc66 committed on 1.0.x
    #3423922 Allow the use of overridden values
    
jmauricio’s picture

Status: Needs review » Reviewed & tested by the community

Tested and reviewed

kallado’s picture

@rpayanm thanks merged and will be available on the next release

kallado’s picture

Status: Reviewed & tested by the community » Fixed

Fixed in 1.0.2

kallado’s picture

Status: Fixed » Closed (fixed)