Unable to install on minimal profile

Created on 11 September 2023, 10 months ago
Updated 13 September 2023, 10 months ago

Problem/Motivation

Two errors when installing on minimal profile:
Error: Class "Drupal\views\EntityViewsData" not found in /data/app/modules/contrib/preview_site/src/EntityHandlers/PreviewSiteBuildViewsData.php on line 14 #0 /data/vendor/composer/ClassLoader.php(582): include()

The "field_item:list_string" plugin does not exist.

Steps to reproduce

First error:

drush site:install minimal
drush en preview_site

Second error:

drush site:install minimal
drush en views preview_site

Proposed resolution

Use string reference to PreviewSiteBuildViewsData class name in @ContentEntityType annotation, or move views integration to a submodule that implements hook_entity_type_alter.

Declare the dependency on drupal:options

Remaining tasks

Decide on approach for views fix
Fix options dependency

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡¦πŸ‡ΊAustralia mstrelan

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

Comments & Activities

Production build 0.69.0 2024