Reference extending twig in plugins from first visible reference to twig