Problem/Motivation

Given the exiting new recipe feature in core, it would be very nice if this module had a command similar to config:devel-export but exporting to a recipe folder.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

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

kopeboy created an issue. See original summary.

mortona2k’s picture

This is a great idea. This tool works great for themes/modules/profiles. Makes sense to support recipes as well.

thejimbirch’s picture

Issue tags: +Recipes initiative
richardgaunt’s picture

Looks like the `extra` property in the `recipe.yml` can be used to contain the configuration to be exported.

So the recipe for config_devel could look like the following to incorporate this feature:

name: 'Test recipe'
extra:
  config_devel:
      - block.block.test1
      - block.block.test2

Note: the no type - install / optional as recipes don't have this concept (all install i guess).

richardgaunt’s picture

Status: Active » Needs review

Made a first attempt at this - writing configuration works but importing back from config directory to active storage does not work but this seems to be an issue with the module.

niklp’s picture

+1 for this as a thing

joachim’s picture

Status: Needs review » Needs work

I'm not keen how messy recipe support is making things -- lots of special cases.

Are recipes not handled by Drupal core's extension system?