1 block.update.inc | DashboardUpdateBlock::checkAccess() |
Check if this block should be shown based on current contexts.
Overrides Block::checkAccess
File
- core/
modules/ dashboard/ includes/ block.update.inc, line 57 - Available Updates dashboard block.
Class
Code
function checkAccess() {
return user_access('access site reports');
}