Socket
Socket
Sign inDemoInstall

@netzstrategen/twig-drupal-fractal-adapter

Package Overview
Dependencies
Maintainers
6
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@netzstrategen/twig-drupal-fractal-adapter

Twig template adapter for Fractal.


Version published
Maintainers
6
Created
Source

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

FAQs

Package last updated on 31 Oct 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc