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 29ade7b..0af61ae 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 @@ -210,7 +210,29 @@ class Field extends ConfigEntityBase implements FieldInterface { protected $storageDetails; /** - * {@inheritdoc} + * Constructs a Field object. + * + * @param array $values + * An array of values to set, keyed by property name. For specific property + * description, please refer respective property inside this class. + * - id: required. Only lowercase alphanumeric characters and underscores + * are allowed, and only lowercase letters and underscore are allowed + * as the first character. + * - type: required. + * - module: required. + * - active: required. + * - settings: optional. + * - cardinality: optional. Default to be 1. + * - translatable: optional. Default to be FALSE. + * - entity_types: optional. Default to be an empty array. + * - locked: optional. Default to be FALSE. + * - storage: optional. + * - indexes: optional. + * - deleted: optional. Default to be FALSE. + * - schema: optional. + * - storageDetails: optional. + * + * See: @link field Field API data structures @endlink. */ public function __construct(array $values, $entity_type = 'field_entity') { // Check required properties.