Issue #2812807 by lucas.constantino, DamienMcKenna: Expand hook_panelizer_access() and hook_panelizer_access_alter() to also pass in the entity that is being examined.