Skip to content
This repository was archived by the owner on May 13, 2026. It is now read-only.

Latest commit

 

History

History
31 lines (17 loc) · 1.66 KB

File metadata and controls

31 lines (17 loc) · 1.66 KB

Important

Pattern Lab is no longer actively maintained. All repositories, along with the rest of the @pattern-lab ecosystem on GitHub and npm, have been deprecated and archived. The code, releases, and history remain available so the work stays discoverable and forks can continue independently under the MIT license. No new releases, security patches, or issue triage will be performed. Read the full message, and thank you.

license Packagist Gitter

Data Inheritance Plugin for Pattern Lab

The Data Inheritance Plugin allows patterns to inherit data from patterns within its lineage. This means that data from included patterns is merged with the current pattern. The current pattern's data takes precedence.

Installation

To add the Data Inheritance Plugin to your project using Composer type:

composer require pattern-lab/plugin-data-inheritance

See Packagist for information on the latest release.

Usage

After install make sure to generate your site again with:

php core/console --generate

Disabling the Plugin

To disable the Faker plugin you can either directly edit ./config/config.yml or use the command line option:

php core/console --config --set plugins.dataInheritance.enabled=false