@christianwiedemann/drupal-twig-extensions
Version:
JavaScript implementation of Drupal’s Twig extensions
10 lines (7 loc) • 318 B
JavaScript
import { newTwingFunction } from '../../helpers/twing.js';
import config from '../../config.js';
import { name, options, acceptedArguments, activeTheme } from './definition.js';
export function callable() {
return activeTheme(config);
}
export default newTwingFunction(name, callable, options, acceptedArguments);