https://github.com/pattern-lab/plugin-php-data-inheritance
The Data Inheritance Plugin allows patterns to inherit data from patterns within its lineage.
https://github.com/pattern-lab/plugin-php-data-inheritance
Last synced: 5 months ago
JSON representation
The Data Inheritance Plugin allows patterns to inherit data from patterns within its lineage.
- Host: GitHub
- URL: https://github.com/pattern-lab/plugin-php-data-inheritance
- Owner: pattern-lab
- License: mit
- Created: 2016-06-22T20:34:51.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2019-05-28T11:30:53.000Z (over 6 years ago)
- Last Synced: 2024-10-28T22:41:28.412Z (about 1 year ago)
- Language: PHP
- Homepage: http://patternlab.io/
- Size: 8.79 KB
- Stars: 13
- Watchers: 6
- Forks: 8
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

[](https://packagist.org/packages/pattern-lab/plugin-data-inheritance) [](https://gitter.im/pattern-lab/php)
# 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](https://getcomposer.org/) type:
composer require pattern-lab/plugin-data-inheritance
See Packagist for [information on the latest release](https://packagist.org/packages/pattern-lab/plugin-data-inheritance).
## 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