With webprofiler enabled when adding/editing custom pub option.

TypeError : Argument 2 passed to Drupal\custom_pub\Form\CustomPublishingOptionForm::__construct()

Using EntityTypeManagerInterface instead of EntityTypeManager in constructor to solve this, patch coming.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Oulalahakabu created an issue. See original summary.

Oulalahakabu’s picture

Issue summary: View changes
Oulalahakabu’s picture

jacobbell84’s picture

Version: 8.x-1.0-alpha6 » 8.x-1.x-dev
Status: Active » Fixed

Makes sense, thank you! I also updated the @param/@var typehints, but otherwise committed as is to dev.

Status: Fixed » Closed (fixed)

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