Closed (duplicate)
Project:
Drupal core
Version:
8.7.x-dev
Component:
forum.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
1 Mar 2019 at 08:39 UTC
Updated:
1 Mar 2019 at 12:53 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
Roman Dyn commentedComment #3
i-trokhanenkoHi, thanks for the patch.
You don't need to inject
\Drupal::entityTypeManager()class ForumForm has protected variableentityTypeManager, and it should be used.Comment #4
Roman Dyn commented@i-trokhanenko, thanks. Added new patch.
Comment #5
i-trokhanenkoPatch #4 looks good for me. +1 RTBC
Thanks!
Comment #6
alexpottThis is part of #2969109: Replace deprecated usages of entityManager in form classes. It's important this is done there because that issue makes core consistent.