ui_patterns_pattern_lab

Allows the UI Patterns module to automatically discover patterns in a Pattern Lab instance.

GPL-2.0 License

Stars
6

CONTENTS OF THIS FILE

  • Introduction
  • Requirements
  • Recommended Modules
  • Installation
  • Configuration
  • Maintainers

INTRODUCTION

The UI Patterns Pattern Lab module automatically discovers patterns defined in a Pattern Lab instance and makes them available to be used in Drupal as UI Patterns.

REQUIREMENTS

This module requires the following outside of Drupal core:

RECOMMENDED MODULES

This module will recognize Pattern Lab patterns in any active module or theme's /templates directory, along with any paths defined as Twig Namespaces in your theme by the:

INSTALLATION

CONFIGURATION

1. Navigate to Administration > Extend and enable the module and its
   dependencies.
2. Clear caches.
3. Patterns should be visible at /patterns and available to use with any of
   the UI Patterns integration modules.

MAINTAINERS

This project would not exist without the work of Antonio De Marco who maintains the UI Patterns module and Pierre Dureau who created the UI Patterns Fractal integration that this project is based on.