pattern-lab / plugin-data-inheritance
Data inheritance based on pattern lineage for Pattern Lab.
Installs: 101 863
Dependents: 1
Suggesters: 0
Security: 0
Stars: 13
Watchers: 6
Forks: 8
Open Issues: 7
Type:patternlab-plugin
Requires
- php: >=5.4
- pattern-lab/core: ^2.5.0
This package is auto-updated.
Last update: 2024-11-06 13:05:37 UTC
README
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