],
];
} /**
* {@inheritdoc}
*/
protected function getSparseFieldSets() { // EntityTest's owner field name is `user_id`, not `uid`, which breaks
// nested sparse fieldset tests.
return array_diff_key(parent::
getSparseFieldSets(),
array_flip([ 'nested_empty_fieldset',
'nested_fieldset_with_owner_fieldset',
]));
} protected function getExpectedCacheContexts(array
$sparse_fieldset = NULL
) { $cache_contexts = parent::
getExpectedCacheContexts($sparse_fieldset);
if ($sparse_fieldset === NULL ||
in_array('computed_test_cacheable_string_field',
$sparse_fieldset)) { $cache_contexts = Cache::
mergeContexts($cache_contexts,
['url.query_args:computed_test_cacheable_string_field'
]);
}