core/modules/system/src/DateFormatAccessControlHandler.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/core/modules/system/src/DateFormatAccessControlHandler.php b/core/modules/system/src/DateFormatAccessControlHandler.php index 8b231b7..421c8ae 100644 --- a/core/modules/system/src/DateFormatAccessControlHandler.php +++ b/core/modules/system/src/DateFormatAccessControlHandler.php @@ -17,6 +17,11 @@ class DateFormatAccessControlHandler extends EntityAccessControlHandler { /** * {@inheritdoc} */ + protected $viewLabelOperation = TRUE; + + /** + * {@inheritdoc} + */ protected function checkAccess(EntityInterface $entity, $operation, AccountInterface $account) { // There are no restrictions on viewing the label of a date format. if ($operation === 'view label') {