Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comments
Comment #2
Oulalahakabu CreditAttribution: Oulalahakabu commentedComment #3
Oulalahakabu CreditAttribution: Oulalahakabu as a volunteer commentedComment #5
jacobbell84 CreditAttribution: jacobbell84 at ZenSource commentedMakes sense, thank you! I also updated the @param/@var typehints, but otherwise committed as is to dev.