Problem/Motivation

When installing the module from the UI we get the following error:

Fatal error: Declaration of Drupal\entity_template_ui\Form\AddComponentForm::buildForm(array $form, Drupal\Core\Form\FormStateInterface $form_state, ?Drupal\entity_template\BlueprintStorageInterface $blueprint_storage = NULL, $template_id = '', $sub_template = '', $plugin_id = '') must be compatible with Drupal\entity_template_ui\Form\ComponentFormBase::buildForm(array $form, Drupal\Core\Form\FormStateInterface $form_state, $op = 'add') in /var/www/html/web/web/modules/contrib/entity_template/contrib/ui/src/Form/AddComponentForm.php on line 22

Steps to reproduce

Try to install the module from the extend page

Proposed resolution

Add op to the add component class

CommentFileSizeAuthor
#2 issue-3177012-2.patch1.01 KBlic_morua

Comments

GafgarionMorua created an issue. See original summary.

lic_morua’s picture

StatusFileSize
new1.01 KB

Created patch fix the instalation of the module.

lic_morua’s picture

Status: Active » Needs review

rlmumford’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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