Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
serialization.module
Priority:
Normal
Category:
Task
Assigned:
Issue tags:
Reporter:
Created:
6 Nov 2015 at 08:31 UTC
Updated:
3 Dec 2015 at 17:54 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
timmillwoodComment #3
dixon_Looks a lot better like this indeed.
Comment #4
dawehnerIs there a reason we don't use FieldstorageConfig::create() and FieldConfig::create() IMHO those variants are way easier to read
Comment #5
timmillwoodTaking onboard comments in #4.
Comment #6
dawehnerNice, thank you!
Comment #8
timmillwoodAdding missing colon.
Comment #9
timmillwoodMoving back to RTBC
Comment #10
xjmSo, there are still 905 calls to
entity_create()in core, plus some other references.This patch is fine and totally RC eligible as test-only changes, so I'm going to go ahead and commit it. However, we should do subsequent replacements for
entity_create()on a per-entity-type basis throughout core (child issues of #2490966: [Meta] Replace deprecated usage of entity_create with a direct call to the entity type class).Committed and pushed to 8.0.x. Thanks!