From 093d931f9811979d07fde125137fa67fec366033 Mon Sep 17 00:00:00 2001 From: Alex Pott <alex.a.pott@googlemail.com> Date: Thu, 8 Jan 2015 14:42:24 +0000 Subject: [PATCH] Issue #2398595 by mradcliffe: Fix documentation for BlockPluginInterface::access --- core/lib/Drupal/Core/Block/BlockPluginInterface.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/lib/Drupal/Core/Block/BlockPluginInterface.php b/core/lib/Drupal/Core/Block/BlockPluginInterface.php index f63a95589ecc..a42027e10c53 100644 --- a/core/lib/Drupal/Core/Block/BlockPluginInterface.php +++ b/core/lib/Drupal/Core/Block/BlockPluginInterface.php @@ -47,8 +47,8 @@ public function label(); * @param \Drupal\Core\Session\AccountInterface $account * The user session for which to check access. * - * @return bool - * TRUE if the block should be shown, or FALSE otherwise. + * @return \Drupal\Core\Access\AccessResultInterface + * An access result object instantiated and configured by the block plugin. * * @see \Drupal\block\BlockAccessControlHandler */ -- GitLab