@@ -97,7 +97,7 @@ class Field extends ConfigEntityBase implements \ArrayAccess, \Serializable {
*
* @var array
*/
public$settings;
public$settings=array();
/**
* The field cardinality.
...
...
@@ -107,7 +107,7 @@ class Field extends ConfigEntityBase implements \ArrayAccess, \Serializable {
*
* @var integer
*/
public$cardinality;
public$cardinality=1;
/**
* Flag indicating whether the field is translatable.
...
...
@@ -116,7 +116,7 @@ class Field extends ConfigEntityBase implements \ArrayAccess, \Serializable {
*
* @var bool
*/
public$translatable;
public$translatable=FALSE;
/**
* The entity types on which the field is allowed to have instances.
...
...
@@ -126,7 +126,7 @@ class Field extends ConfigEntityBase implements \ArrayAccess, \Serializable {
*
* @var array
*/
public$entity_types;
public$entity_types=array();
/**
* Flag indicating whether the field is available for editing.
...
...
@@ -140,7 +140,7 @@ class Field extends ConfigEntityBase implements \ArrayAccess, \Serializable {
*
* @var bool
*/
public$locked;
public$locked=FALSE;
/**
* The field storage definition.
...
...
@@ -159,7 +159,7 @@ class Field extends ConfigEntityBase implements \ArrayAccess, \Serializable {
*
* @var array
*/
public$storage;
public$storage=array();
/**
* The custom storage indexes for the field data storage.
...
...
@@ -177,7 +177,7 @@ class Field extends ConfigEntityBase implements \ArrayAccess, \Serializable {
*
* @var array
*/
public$indexes;
public$indexes=array();
/**
* Flag indicating whether the field is deleted.
...
...
@@ -192,7 +192,7 @@ class Field extends ConfigEntityBase implements \ArrayAccess, \Serializable {
*
* @var bool
*/
public$deleted;
public$deleted=FALSE;
/**
* The field schema.
...
...
@@ -230,17 +230,6 @@ public function __construct(array $values, $entity_type = 'field_entity') {
thrownewFieldException('Attempt to create a field with invalid characters. Only lowercase alphanumeric characters and underscores are allowed, and only lowercase letters and underscore are allowed as the first character');