2.2.2 • Published 5 years ago

@netzstrategen/twig-drupal-fractal-adapter v2.2.2

Weekly downloads
14
License
MIT
Repository
github
Last release
5 years ago

Fractal Twig Drupal adapter

This fork allows you to use the namespaces from your theme.info.yml file from the component-libraries key in your Fractal instance.

Requirements & Usage

Use with the Fractal integration module for Drupal:

composer require netzstrategen/drupal-twig_fractal

Setup

npm install --save git+ssh://git@github.com/netzstrategen/twig-drupal.git

or add manually in your package.json:

{
  "dependencies": {
    "@frctl/twig-drupal": "git+ssh://git@github.com/netzstrategen/twig-drupal.git"
  }
}

in your fractal.js

const fractal = require('@frctl/fractal').create();
const twigAdapter = require('@frctl/twig-drupal');
fractal.components.engine(twigAdapter);

Credits

This package is based on the work of https://github.com/WondrousLLC/twig-drupal

2.2.2

5 years ago

2.2.1

5 years ago

2.2.0

5 years ago

2.1.0

5 years ago

2.0.1

5 years ago

2.0.0

5 years ago

1.1.0

5 years ago

1.0.2

6 years ago