entity version - scaffolding?

Created on 10 February 2024, 12 months ago
Updated 14 February 2024, 11 months ago

Problem/Motivation

I don't know if it is important, but it is a message never given by any other module install using composer:

Not scaffolding files for drupal/entity_version, because it is not listed in the element 'extra.drupal-scaffold.allowed-packages' in the root-level composer.json file.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Needs review

Version

1.3

Component

Code

Created by

🇦🇹Austria maxilein

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @maxilein
  • First commit to issue fork.
  • Assigned to himanshu_jhaloya
  • 🇮🇳India himanshu_jhaloya Indore

    To resolve this issue, you need to add drupal/entity_version to the list of allowed packages for Drupal scaffold. Here's how you can do it:
    Open the composer.json file located at the root of your Drupal project.

    Look for the extra section within the composer.json file. If it doesn't exist, create it.

    Within the extra section, locate or add the drupal-scaffold subsection. It might look something like this:

    "extra": {
    "drupal-scaffold": {
    "allowed-packages": [
    "drupal/core",
    "drupal/core-composer-scaffold",
    "drupal/entity_version"
    ]
    }
    }

  • Issue was unassigned.
  • Status changed to Needs review 11 months ago
  • 🇦🇹Austria maxilein

    But how do other modules do this?
    Are they not required or do they add it automatically?

    That is the D10 version I guess on my test machine - it states
    "drupal-scaffold": {
    "locations": {
    "web-root": "web/"
    }
    },

Production build 0.71.5 2024