From bc5f74b219ef8a758dcc2b4268b22b419a1ccc49 Mon Sep 17 00:00:00 2001 From: Chris Rockwell Date: Tue, 1 Nov 2016 00:34:13 -0400 Subject: [PATCH] EntityContentGenearator should store *.page.inc in module root directory, not /src (#2847) --- src/Generator/EntityContentGenerator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Generator/EntityContentGenerator.php b/src/Generator/EntityContentGenerator.php index 8259f400d..61bc9de0b 100644 --- a/src/Generator/EntityContentGenerator.php +++ b/src/Generator/EntityContentGenerator.php @@ -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 );