Skip to content

Commit

Permalink
Issue #2: Listen later in the event cycle to be able to fake pattern-…
Browse files Browse the repository at this point in the history
…specific data (#7)
  • Loading branch information
AndyIRC authored and EvanLovely committed Apr 23, 2019
1 parent 2e64b75 commit c7552df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PatternLab/Faker/PatternLabListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class PatternLabListener extends \PatternLab\Listener {
public function __construct() {

// add listener
$this->addListener("patternData.dataLoaded","fakeContent");
$this->addListener("patternData.lineageHelperEnd","fakeContent");

// set-up locale
$locale = Config::getOption("plugins.faker.locale");
Expand Down

0 comments on commit c7552df

Please sign in to comment.