Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/patrickcate/twig-tools-pl
Pattern Lab version of the Drupal TwigTools filters/functions.
https://github.com/patrickcate/twig-tools-pl
Last synced: 27 days ago
JSON representation
Pattern Lab version of the Drupal TwigTools filters/functions.
- Host: GitHub
- URL: https://github.com/patrickcate/twig-tools-pl
- Owner: patrickcate
- License: gpl-2.0
- Created: 2019-03-15T12:43:30.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-04-04T02:28:22.000Z (almost 6 years ago)
- Last Synced: 2024-11-08T00:06:58.941Z (3 months ago)
- Language: PHP
- Size: 16.6 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Twig Tools Pattern Lab Edition
This is a Pattern Lab plugin that implements all of the existing filters added by the Drupal [Twig Tools](https://www.drupal.org/project/twig_tools) module.
**Note:** This plugin assumes you are using Pattern Lab inside a Drupal theme.
## Installation
1. Install and enable the Drupal [Twig Tools](https://www.drupal.org/project/twig_tools) module.
1. Inside of your Drupal theme Pattern Lab directory, locate Pattern Lab the `composer.json` file abd run the command in the same directory:
```shell
composer require pcate/twig-tools-pl
```1. After the composer package has installed, a post-install script will prompt you to merge/replace the new filters in the `_twig-components` directory.