Problem/Motivation

If you want to list core recipes in the profile's info file, you can't. Core, being a special snowflake, contains several recipes within it and therefore violates the idea that every recipe needs to be its own Composer package.

Proposed resolution

Add special-case handling for core, allowing to reference its recipes individually like drupal/core:administrator_role.

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

phenaproxima created an issue. See original summary.

phenaproxima’s picture

I tested this with both Byte and Drupal CMS's Starter recipe, by removing the line where they explicitly apply the administrator_role recipe from core, and having that recipe be required by the Drupal CMS install profile. In both cases, the Administrator role was created as expected. I think this works as intended.

  • phenaproxima committed f1e80070 on 1.x
    feat: #3569200 Make it possible to reference core recipes in the `...
phenaproxima’s picture

Status: Active » Fixed

Merged into 1.x.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

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