Add hooks for block visibility

Closes #3608051

Merge request reports

Loading