diff --git a/core/modules/field/lib/Drupal/field/Plugin/Core/Entity/Field.php b/core/modules/field/lib/Drupal/field/Plugin/Core/Entity/Field.php index b0620dc..ac21cfe 100644 --- a/core/modules/field/lib/Drupal/field/Plugin/Core/Entity/Field.php +++ b/core/modules/field/lib/Drupal/field/Plugin/Core/Entity/Field.php @@ -213,16 +213,16 @@ class Field extends ConfigEntityBase implements FieldInterface { * Constructs a Field object. * * @param array $values - * An array of field properties, keyed by property name. Most array elements - * will be used to set the corresponding properties on the class; see the - * class property documentation for details. Some array elements have special - * meanings and a few are required; these special elements are: + * An array of field properties, keyed by property name. Most array + * elements will be used to set the corresponding properties on the class; + * see the class property documentation for details. Some array elements + * have special meanings and a few are required. Special elements are: * - id: required. As a temporary Backwards Compatibility layer right now, * a 'field_name' property can be accepted in place of 'id'. * - type: required. * - * In most cases, it's constructed via entity_create('field_entity', $values)), where - * $values is the same parameter for this constructor. + * In most cases, it's constructed via entity_create('field_entity', $values)), + * where $values is the same parameter for this constructor. * * See: @link entity_create() @endlink. * @ingroup field Field API data structures diff --git a/core/modules/field/lib/Drupal/field/Plugin/Core/Entity/FieldInstance.php b/core/modules/field/lib/Drupal/field/Plugin/Core/Entity/FieldInstance.php index b73eae8..aff566d 100644 --- a/core/modules/field/lib/Drupal/field/Plugin/Core/Entity/FieldInstance.php +++ b/core/modules/field/lib/Drupal/field/Plugin/Core/Entity/FieldInstance.php @@ -204,10 +204,11 @@ class FieldInstance extends ConfigEntityBase implements FieldInstanceInterface { * Constructs a FieldInstance object. * * @param array $values - * An array of field instance properties, keyed by property name. Most array - * elements will be used to set the corresponding properties on the class; see - * the class property documentation for details. Some array elements have - * special meanings and a few are required; these special elements are: + * An array of field instance properties, keyed by property name. Most + * array elements will be used to set the corresponding properties on the + * class; see the class property documentation for details. Some array + * elements have special meanings and a few are required; these special + * elements are: * - field_name: optional. The name of the field this is an instance of. * - field_uuid: optional. Either field_uuid or field_name is required * to build field instance. field_name will gain higher priority. @@ -215,8 +216,8 @@ class FieldInstance extends ConfigEntityBase implements FieldInstanceInterface { * - entity_type: required. * - bundle: required. * - * In most cases, it's constructed via entity_create('field_instance', $values)), where - * $values is the same parameter for this constructor. + * In most cases, it's constructed via entity_create('field_instance', $values)), + * where $values is the same parameter for this constructor. * * See: @link entity_create() @endlink. */