PIM-2672 : pass relatedEntity variable from category controller to twig templates
PIM-2672 : use relatedEntity variable in twig templates related to tree
rendering and update the related twig extension