diff -u b/core/modules/shortcut/src/Plugin/Block/ShortcutsBlock.php b/core/modules/shortcut/src/Plugin/Block/ShortcutsBlock.php --- b/core/modules/shortcut/src/Plugin/Block/ShortcutsBlock.php +++ b/core/modules/shortcut/src/Plugin/Block/ShortcutsBlock.php @@ -35,9 +35,7 @@ * {@inheritdoc} */ protected function blockAccess(AccountInterface $account) { - if ($account->hasPermission('access shortcuts')) { - return TRUE; - } + return $account->hasPermission('access shortcuts'); } }