Skip to content

Conversation

marcelovani
Copy link
Member

No description provided.

$this->trans('commands.config.override.arguments.value')
)
->addArgument(
'key-values',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@marcelovani can we use as singular 'key-value

@jmolivas jmolivas changed the title Option to allow nested configs [config:override] Option to allow nested configs Feb 12, 2018
@marcelovani
Copy link
Member Author

Done

@jmolivas jmolivas added this to the 1.6.1 milestone Feb 14, 2018
@jmolivas jmolivas modified the milestones: 1.7.0, 1.8.0 Mar 6, 2018
@jmolivas jmolivas modified the milestones: 1.8.0, 1.9.0 Apr 22, 2018
@enzolutions
Copy link
Contributor

@marcelovani could you provide an example config with nested values to test, please

@marcelovani
Copy link
Member Author

To be honest I don't remember the use case.

Maybe something like https://git.drupalcode.org/project/drupal/raw/8.8.x/core/modules/image/config/install/image.style.large.yml

langcode: en
status: true
dependencies: {  }
name: large
label: 'Large (480×480)'
effects:
  ddd73aa7-4bd6-4c85-b600-bdf2b1628d1d:
    uuid: ddd73aa7-4bd6-4c85-b600-bdf2b1628d1d
    id: image_scale
    weight: 0
    data:
      width: 480
      height: 480
      upscale: false

How can I override effects.data.width

Maybe it is possible, I don't know, its been a while.

@enzolutions
Copy link
Contributor

Thanks @marcelovani for your contribution, was used as base to be solved with PR #4047

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants