pcate / twig-tools-pl
Equivalent functions and filters for Pattern Lab that are available with the Twig Tools Drupal module.
Package info
github.com/patrickcate/twig-tools-pl
Type:patternlab-plugin
pkg:composer/pcate/twig-tools-pl
1.1.1
2019-04-04 02:27 UTC
Requires
- php: ^5.6 || ^7.0
This package is not auto-updated.
Last update: 2026-04-10 16:05:15 UTC
README
This is a Pattern Lab plugin that implements all of the existing filters added by the Drupal Twig Tools module.
Note: This plugin assumes you are using Pattern Lab inside a Drupal theme.
Installation
-
Install and enable the Drupal Twig Tools module.
-
Inside of your Drupal theme Pattern Lab directory, locate Pattern Lab the
composer.jsonfile abd run the command in the same directory:
composer require pcate/twig-tools-pl
- After the composer package has installed, a post-install script will prompt you to merge/replace the new filters in the
_twig-componentsdirectory.