Issue #2398595 by mradcliffe: Fix documentation for BlockPluginInterface::access

8.0.x
Alex Pott 2015-01-08 14:42:24 +00:00
parent b1ce4536a6
commit 093d931f98
1 changed files with 2 additions and 2 deletions

View File

@ -47,8 +47,8 @@ interface BlockPluginInterface extends ConfigurablePluginInterface, PluginFormIn
* @param \Drupal\Core\Session\AccountInterface $account * @param \Drupal\Core\Session\AccountInterface $account
* The user session for which to check access. * The user session for which to check access.
* *
* @return bool * @return \Drupal\Core\Access\AccessResultInterface
* TRUE if the block should be shown, or FALSE otherwise. * An access result object instantiated and configured by the block plugin.
* *
* @see \Drupal\block\BlockAccessControlHandler * @see \Drupal\block\BlockAccessControlHandler
*/ */