getPluginId() == 'system_powered_by_block') { return AccessResult::forbiddenIf($block->getRegion() != 'footer')->addCacheableDependency($block); } // No opinion. return AccessResult::neutral(); } /** * @} End of "addtogroup hooks". */