Problem/Motivation
It's necessary to add a composer.json file and include all the required information.
Issue fork taxonomy_protect-3426889
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
Comment #2
andrii momotov commentedComment #4
andrii momotov commentedAdded composer.json file. Please review.
Thanks!
Comment #5
andrii momotov commentedComment #6
jasjeet kaur brar commentedHiiee @Andrii, Your composer.json file looks good, but there are a couple of optional additions you might consider.
"require": {
"drupal/core": "^9"
}
Drupal 8/9 modules generally follow PSR-4 autoloading standards. You can configure autoload settings in your composer.json file. For example:
"autoload": {
"psr-4": {
"Drupal\\taxonomy_protect\\": "src/"
}
}
But still good to go
Comment #7
jasjeet kaur brar commentedComment #10
jrb