UNPKG

drupal-twig-extensions

Version:

JavaScript implementation of Drupal’s Twig extensions

12 lines (11 loc) 403 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _twing = require("twing"); const newTwingFunction = (name, callable, options, acceptedArguments = []) => new _twing.TwingFunction(name, callable, // @TODO File bug report; 3rd argument should be options. acceptedArguments, options); var _default = newTwingFunction; exports.default = _default;