X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=web%2Fcore%2Fmodules%2Fsystem%2Ftests%2Fmodules%2Fentity_test%2Fsrc%2FEntity%2FEntityTestComputedField.php;fp=web%2Fcore%2Fmodules%2Fsystem%2Ftests%2Fmodules%2Fentity_test%2Fsrc%2FEntity%2FEntityTestComputedField.php;h=c873ccc00e293819d5d962007b414ff3c10ab1fb;hb=9917807b03b64faf00f6a1f29dcb6eafc454efa5;hp=0000000000000000000000000000000000000000;hpb=aea91e65e895364e460983b890e295aa5d5540a5;p=yaffs-website diff --git a/web/core/modules/system/tests/modules/entity_test/src/Entity/EntityTestComputedField.php b/web/core/modules/system/tests/modules/entity_test/src/Entity/EntityTestComputedField.php new file mode 100644 index 000000000..c873ccc00 --- /dev/null +++ b/web/core/modules/system/tests/modules/entity_test/src/Entity/EntityTestComputedField.php @@ -0,0 +1,45 @@ +setLabel('Computed Field Test') + ->setComputed(TRUE) + ->setClass(ComputedTestFieldItemList::class); + + return $fields; + } + +}