[feature/twig] Working on DEFINE

PHPBB3-11598