dakala/profile2 — pull request #19 by GoZOo (2014-12-26 14:14:03+00:00)
Title: D8beta4 #2012896 fields are now configuration entities

Field and field instance are now configuration entities.

Use FieldStorageConfig::create() instead of field_create_field().
Use FieldConfig::create() instead of field_create_instance().

See details on https://www.drupal.org/node/2012896