Problem/Motivation

In #2116551: Fix the UX of Entity Reference fields two methods were added to \Drupal\Core\Entity\EntityType, getGroup() and getGroupLabel()

These methods do not exist on EntityTypeInterface.
These methods do not have any documentation.

Proposed resolution

Fix

Remaining tasks

Fix

User interface changes

N/A

API changes

Depends on how the interface bit is fixed.

Data model changes

N/A

CommentFileSizeAuthor
#2 add_getgroup_and-2549017-2.patch795 bytesAnonymous (not verified)

Comments

tim.plunkett created an issue. See original summary.

Anonymous’s picture

Status: Active » Needs review
StatusFileSize
new795 bytes

We could just add them to the interface, the methods are already there anyway. However, I don't find where the getGroup() function is used. Do we need that?

tim.plunkett’s picture

Status: Needs review » Reviewed & tested by the community
webchick’s picture

Status: Reviewed & tested by the community » Fixed

Nice catch.

Committed and pushed to 8.0.x. Thanks!

  • webchick committed 503cd2a on 8.0.x
    Issue #2549017 by pjonckiere: Add getGroup() and getGroupLabel() to an...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.