Issue #2398595 by mradcliffe: Fix documentation for BlockPluginInterface::access
parent
b1ce4536a6
commit
093d931f98
|
@ -47,8 +47,8 @@ interface BlockPluginInterface extends ConfigurablePluginInterface, PluginFormIn
|
|||
* @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
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue