Zum Inhalt springen

Composer

Aus Computech CMS Wiki

Allgemeines

Drupal Module installieren: composer require 'drupal/ctools:^3.4' Module einschalten mit Drush drush em -y ctools

Module mit Patch auf inkompatibler Drupal Version installieren

composer req mglaman/composer-drupal-lenient composer config --merge --json extra.drupal-lenient.allowed-list '["drupal/node_view_permissions"]'

  1. composer
  2. lenient
  3. Drupal 10
  4. Patch
  5. inkompatibel
  6. modul

Composer Configuration

List configuration from the composer.json file in the current folder. composer config --list