-
- Downloads
Issue #2825487 by damiankloip, Wim Leers, garphy, cburschka, tedbow, dpovshed,...
Issue #2825487 by damiankloip, Wim Leers, garphy, cburschka, tedbow, dpovshed, tstoeckler, Munavijayalakshmi, Berdir, dawehner, e0ipso: Fix normalization of File entities: file entities should expose the file URL as a computed property on the 'uri' base field
parent
0308764e
No related branches found
No related tags found
Showing
- core/modules/file/file.module 10 additions, 0 deletionscore/modules/file/file.module
- core/modules/file/src/ComputedFileUrl.php 47 additions, 0 deletionscore/modules/file/src/ComputedFileUrl.php
- core/modules/file/src/Entity/File.php 1 addition, 1 deletioncore/modules/file/src/Entity/File.php
- core/modules/file/src/Plugin/Field/FieldFormatter/FileUriFormatter.php 2 additions, 1 deletion...file/src/Plugin/Field/FieldFormatter/FileUriFormatter.php
- core/modules/file/src/Plugin/Field/FieldType/FileUriItem.php 39 additions, 0 deletionscore/modules/file/src/Plugin/Field/FieldType/FileUriItem.php
- core/modules/file/tests/src/Kernel/ComputedFileUrlTest.php 91 additions, 0 deletionscore/modules/file/tests/src/Kernel/ComputedFileUrlTest.php
- core/modules/file/tests/src/Kernel/FileUriItemTest.php 40 additions, 0 deletionscore/modules/file/tests/src/Kernel/FileUriItemTest.php
- core/modules/hal/config/install/hal.settings.yml 8 additions, 0 deletionscore/modules/hal/config/install/hal.settings.yml
- core/modules/hal/config/schema/hal.schema.yml 3 additions, 0 deletionscore/modules/hal/config/schema/hal.schema.yml
- core/modules/hal/hal.install 12 additions, 0 deletionscore/modules/hal/hal.install
- core/modules/hal/hal.services.yml 2 additions, 1 deletioncore/modules/hal/hal.services.yml
- core/modules/hal/src/Normalizer/FileEntityNormalizer.php 21 additions, 3 deletionscore/modules/hal/src/Normalizer/FileEntityNormalizer.php
- core/modules/hal/tests/src/Functional/EntityResource/File/FileHalJsonAnonTest.php 37 additions, 1 deletion...rc/Functional/EntityResource/File/FileHalJsonAnonTest.php
- core/modules/hal/tests/src/Functional/EntityResource/Media/MediaHalJsonAnonTest.php 8 additions, 10 deletions.../Functional/EntityResource/Media/MediaHalJsonAnonTest.php
- core/modules/hal/tests/src/Functional/FileDenormalizeTest.php 14 additions, 0 deletions.../modules/hal/tests/src/Functional/FileDenormalizeTest.php
- core/modules/hal/tests/src/Kernel/FileNormalizeTest.php 4 additions, 1 deletioncore/modules/hal/tests/src/Kernel/FileNormalizeTest.php
- core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php 7 additions, 2 deletions.../src/Functional/EntityResource/EntityResourceTestBase.php
- core/modules/rest/tests/src/Functional/EntityResource/File/FileResourceTestBase.php 1 addition, 0 deletions...c/Functional/EntityResource/File/FileResourceTestBase.php
- core/tests/Drupal/Tests/Listeners/DeprecationListenerTrait.php 1 addition, 0 deletions...tests/Drupal/Tests/Listeners/DeprecationListenerTrait.php
Loading
Please register or sign in to comment