You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Do not work on this before Drupal 8.6.0 is released, this is planned for September 2018
In Drupal 8.6.0 a change was made to the ContentEntityForm class: one of the constructor arguments was changed from EntityManagerInterface to EntityRepositoryInterface.
In #395 a workaround was added in GroupSubscribeForm (which extends ContentEntityForm) to ensure that the form is compatible both with Drupal 8.6 and earlier versions without throwing deprecation warnings.
Once Drupal 8.5.x is deprecated we do not need this B/C layer any more and it can be removed.
Add the EntityRepositoryInterface type hint to the $entity_repository argument in GroupSubscribeForm::__construct(), and update the docblock.
Remove the B/C layer from GroupSubscribeForm::create() and update the documentation.
Update the version requirement of Drupal core to ~8.6 in composer.json.
The text was updated successfully, but these errors were encountered:
Do not work on this before Drupal 8.6.0 is released, this is planned for September 2018
In Drupal 8.6.0 a change was made to the
ContentEntityForm
class: one of the constructor arguments was changed fromEntityManagerInterface
toEntityRepositoryInterface
.In #395 a workaround was added in
GroupSubscribeForm
(which extendsContentEntityForm
) to ensure that the form is compatible both with Drupal 8.6 and earlier versions without throwing deprecation warnings.Once Drupal 8.5.x is deprecated we do not need this B/C layer any more and it can be removed.
EntityRepositoryInterface
type hint to the$entity_repository
argument inGroupSubscribeForm::__construct()
, and update the docblock.GroupSubscribeForm::create()
and update the documentation.~8.6
incomposer.json
.The text was updated successfully, but these errors were encountered: