When you install config_page with drush you can have this message :

Fatal error: Class 'Drupal\hal\Normalizer\ContentEntityNormalizer' not found in /var/www/modules/contrib/config_pages/src/ConfigPagesNormalizer.php on line 11
Drush command terminated abnormally due to an unrecoverable error. [error]
Error: Class 'Drupal\hal\Normalizer\ContentEntityNormalizer' not found in /var/www/modules/contrib/config_pages/src/ConfigPagesNormalizer.php, line 11

it's because hal is not an dependency of config_pages module

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Julfabre created an issue. See original summary.

webflo’s picture

Status: Active » Needs review
FileSize
264 bytes

I think the dependency should be on rest module, because config_pages.config_pages_normalizer has a dependency on rest.link_manager.

webflo’s picture

Rest module could be an optional dependency similar to http://cgit.drupalcode.org/entity_reference_revisions/tree/src/EntityRef...

shumer’s picture

Status: Needs review » Fixed

Fixed in RC5

Status: Fixed » Closed (fixed)

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