Problem/Motivation
In some circumstances the entityTypeManager property is null, which leads to a fatal error when accessing the link.
Proposed resolution
Instead of accessing the entityTypeManager as a property, use the getter method in the ControllerBase, which will populate the entityTypeManager from the container if the property is null.
Issue fork content_moderation_link-3381940
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #4
mandclu commented