X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fsystem%2Ftests%2Fmodules%2Fentity_test_update%2Fentity_test_update.module;h=5b32eb8863f2cc758af448f370dbb6b1411c05de;hp=86ca5a9712c329fabc66d85f7b8528b42a044252;hb=bfbba508964731508b9bd6d5835c2edc858db95b;hpb=cb9a80db11fc6b014e5b1e693a5a391c95eb5d9a diff --git a/web/core/modules/system/tests/modules/entity_test_update/entity_test_update.module b/web/core/modules/system/tests/modules/entity_test_update/entity_test_update.module index 86ca5a971..5b32eb886 100644 --- a/web/core/modules/system/tests/modules/entity_test_update/entity_test_update.module +++ b/web/core/modules/system/tests/modules/entity_test_update/entity_test_update.module @@ -29,6 +29,15 @@ function entity_test_update_entity_base_field_info(EntityTypeInterface $entity_t } } +/** + * Implements hook_entity_field_storage_info(). + */ +function entity_test_update_entity_field_storage_info(EntityTypeInterface $entity_type) { + if ($entity_type->id() == 'entity_test_update') { + return \Drupal::state()->get('entity_test_update.additional_field_storage_definitions', []); + } +} + /** * Implements hook_entity_type_alter(). */