Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
entity system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
16 Oct 2013 at 01:23 UTC
Updated:
29 Jul 2014 at 23:03 UTC
Jump to comment: Most recent
Comments
Comment #1
larowlanYes, comment module could use this, as seen by the patch :)
Comment #2
smiletrl commentedMakes sense..
Comment #3
jibranAwesome patch is green.
Before the patch
After the patch
core/lib/Drupal/Core/Entity/ContentEntityBase.php:370is introduced by the patch I think we can fix the rest.Comment #4
effulgentsia commentedThe rest either deal with typed data objects that aren't entities, or else need the returned definition.
Comment #5
jibranok RTBC then.
Comment #6
fagoThat's a great addition and makes code better readable, +1!
Comment #7
wim leersNice! :)
Comment #8
webchickThis seems pretty harmless, and is a nice clean-up of code.
Committed and pushed to 8.x. Thanks!
Needs a change notice.
Comment #9
berdirAdded a snippet to https://drupal.org/node/1806650.