diff --git a/core/lib/Drupal/Core/Block/BlockPluginInterface.php b/core/lib/Drupal/Core/Block/BlockPluginInterface.php index f63a95589ecc36d4e526abc667a5d12074dbc857..a42027e10c53c2e6524228b3852459024b5e4bb8 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 */