Loading core/modules/file/tests/src/Functional/FileFieldCreationTrait.php +4 −2 Original line number Diff line number Diff line Loading @@ -14,7 +14,8 @@ trait FileFieldCreationTrait { * Creates a new file field. * * @param string $name * The name of the new field (all lowercase), exclude the "field_" prefix. * The name of the new field (all lowercase). The Field UI 'field_' prefix * is not added to the field name. * @param string $entity_type * The entity type. * @param string $bundle Loading Loading @@ -47,7 +48,8 @@ public function createFileField($name, $entity_type, $bundle, $storage_settings * Attaches a file field to an entity. * * @param string $name * The name of the new field (all lowercase), exclude the "field_" prefix. * The name of the new field (all lowercase). The Field UI 'field_' prefix * is not added to the field name. * @param string $entity_type * The entity type this field will be added to. * @param string $bundle Loading core/modules/image/tests/src/Kernel/ImageFieldCreationTrait.php +2 −1 Original line number Diff line number Diff line Loading @@ -14,7 +14,8 @@ trait ImageFieldCreationTrait { * Create a new image field. * * @param string $name * The name of the new field (all lowercase), exclude the "field_" prefix. * The name of the new field (all lowercase). The Field UI 'field_' prefix * is not added to the field name. * @param string $type_name * The node type that this field will be added to. * @param array $storage_settings Loading Loading
core/modules/file/tests/src/Functional/FileFieldCreationTrait.php +4 −2 Original line number Diff line number Diff line Loading @@ -14,7 +14,8 @@ trait FileFieldCreationTrait { * Creates a new file field. * * @param string $name * The name of the new field (all lowercase), exclude the "field_" prefix. * The name of the new field (all lowercase). The Field UI 'field_' prefix * is not added to the field name. * @param string $entity_type * The entity type. * @param string $bundle Loading Loading @@ -47,7 +48,8 @@ public function createFileField($name, $entity_type, $bundle, $storage_settings * Attaches a file field to an entity. * * @param string $name * The name of the new field (all lowercase), exclude the "field_" prefix. * The name of the new field (all lowercase). The Field UI 'field_' prefix * is not added to the field name. * @param string $entity_type * The entity type this field will be added to. * @param string $bundle Loading
core/modules/image/tests/src/Kernel/ImageFieldCreationTrait.php +2 −1 Original line number Diff line number Diff line Loading @@ -14,7 +14,8 @@ trait ImageFieldCreationTrait { * Create a new image field. * * @param string $name * The name of the new field (all lowercase), exclude the "field_" prefix. * The name of the new field (all lowercase). The Field UI 'field_' prefix * is not added to the field name. * @param string $type_name * The node type that this field will be added to. * @param array $storage_settings Loading