Advertising sustains the DA. Ads are hidden for members. Join today

Contributed module documentation

UI Patterns Pattern Lab

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.

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 Component Libraries module.

Getting Started

Initial installation and configuration of UI Patterns Pattern Lab

Requirements for Automatic Discovery

Understand the requirements for automatic discovery, along with optional discovery features.

Overriding Automatic Pattern Discovery

Set additional options in pattern definition files in order to override default pattern discovery behavior.

Guide maintainers

brianperry's picture