Skip to content
Snippets Groups Projects
Commit a95d3b3e authored by Joshua Roberson's avatar Joshua Roberson
Browse files

Add comment for block edit/delete access

parent d69c4d75
No related branches found
No related tags found
No related merge requests found
......@@ -120,6 +120,7 @@ function block_region_permissions_block_access(Block $block, $operation, Account
// Skip disabled/none.
if ($region_key != -1) {
// Negate to hide operation link.
return AccessResult::forbiddenIf(!\Drupal::currentUser()->hasPermission("administer $theme_key $region_key"));
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment