Skip to content

Commit

Permalink
EntityContentGenearator should store *.page.inc in module root direct…
Browse files Browse the repository at this point in the history
…ory, not /src (#2847)
  • Loading branch information
clrockwell authored and jmolivas committed Nov 1, 2016
1 parent 6256db8 commit bc5f74b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Generator/EntityContentGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ public function generate($module, $entity_name, $entity_class, $label, $base_pat

$this->renderFile(
'module/entity-content-page.php.twig',
$this->extensionManager->getModule($module)->getSourcePath().'/'.$entity_name.'.page.inc',
$this->extensionManager->getModule($module)->getPath().'/'.$entity_name.'.page.inc',
$parameters
);

Expand Down

0 comments on commit bc5f74b

Please sign in to comment.