Skip to content

Commit

Permalink
1088 interfaces into src (#3960)
Browse files Browse the repository at this point in the history
* Add new arguments key and target. Make it possible use not only default target for db connections

* Move the interfaces to src folder according to Drupal standards
  • Loading branch information
LOBsTerr committed Apr 10, 2019
1 parent c179f09 commit 51035af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Generator/EntityConfigGenerator.php
Expand Up @@ -67,7 +67,7 @@ public function generate(array $parameters)

$this->renderFile(
'module/src/Entity/interface-entity.php.twig',
$moduleEntityPath . 'Interface.php',
$moduleSourcePath . 'Interface.php',
$parameters
);

Expand Down
2 changes: 1 addition & 1 deletion src/Generator/EntityContentGenerator.php
Expand Up @@ -118,7 +118,7 @@ public function generate(array $parameters)

$this->renderFile(
'module/src/Entity/interface-entity-content.php.twig',
$moduleEntityPath . 'Interface.php',
$moduleSourcePath . 'Interface.php',
$parameters
);

Expand Down

0 comments on commit 51035af

Please sign in to comment.