There are a number of errors in the module:
Deprecated function: Creation of dynamic property Drupal\entity_ui\Form\EntityTabForm::$entityType is deprecated in Drupal\entity_ui\Form\EntityTabForm->init() (line 96 of modules/contrib/entity_ui/src/Form/EntityTabForm.php).
Deprecated function: Creation of dynamic property Drupal\entity_ui\Plugin\EntityTabContent\EntityForm::$entityTypeManager is deprecated in Drupal\entity_ui\Plugin\EntityTabContentBase->__construct() (line 64 of modules/contrib/entity_ui/src/Plugin/EntityTabContentBase.php).
Deprecated function: Creation of dynamic property Drupal\entity_ui\EntityHandler\EntityTabListBuilder::$target_entity_canonical_path is deprecated in Drupal\entity_ui\EntityHandler\EntityTabListBuilder->__construct() (line 121 of modules/contrib/entity_ui/src/EntityHandler/EntityTabListBuilder.php).
Deprecated function: reset(): Calling reset() on an object is deprecated in Drupal\entity_ui\Form\EntityTabForm->getRouteForEntityPath() (line 397 of modules/contrib/entity_ui/src/Form/EntityTabForm.php).
Deprecated function: Creation of dynamic property Drupal\entity_ui\Plugin\EntityTabContent\ActionsConfigurableAction::$actionPlugin is deprecated in Drupal\entity_ui\Plugin\EntityTabContent\ActionsConfigurableAction->__construct() (line 64 of modules/contrib/entity_ui/src/Plugin/EntityTabContent/ActionsConfigurableAction.php).
| Comment | File | Size | Author |
|---|---|---|---|
| #10 | entity_ui-n3442824-10.interdiff.txt | 635 bytes | damienmckenna |
| #10 | entity_ui-n3442824-10.patch | 2.71 KB | damienmckenna |
| #8 | entity_ui-n3442824-8.patch | 2.71 KB | damienmckenna |
| #8 | entity_ui-n3442824-8.interdiff.txt | 632 bytes | damienmckenna |
| #6 | entity_ui-n3442824-6.patch | 2.82 KB | damienmckenna |
Comments
Comment #2
damienmckennaComment #3
damienmckennaComment #4
damienmckennaComment #5
damienmckennaComment #6
damienmckennaI think this covers it, but the variable definitions need to be double-checked.
Comment #7
joachim commentedI don't understand this change.
getIterator() returns an iterator. We're supposed to be returning Route|null.
How can we return $route_iterator?
Comment #8
damienmckennaHow about this?
Comment #9
joachim commentedseek() doesn't return anything. Maybe this should be current()?
Comment #10
damienmckennaYeah, sorry, I didn't think of checking the method's return statement.
Comment #11
joachim commentedTested and committed.
Thanks!