Register asset_plugin twig function