UNPKG

drupal-twig-extensions

Version:

JavaScript implementation of Drupal’s Twig extensions

15 lines (12 loc) 334 B
import { newTwigExtension } from '../../helpers/twig.js'; import config from '../../config.js'; import { name, options, acceptedArguments, activeThemePath, } from './definition.js'; export function callable() { return activeThemePath(config); } export default newTwigExtension(name, callable, options, acceptedArguments);