Skip to content

Commit

Permalink
Merge pull request #167 from vacho/links-content-entity
Browse files Browse the repository at this point in the history
Modify names of tasks, actions and menu files
  • Loading branch information
jmolivas committed Jul 17, 2014
2 parents debe534 + 75b70d7 commit 24bbc65
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Generator/EntityContentGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,21 +33,21 @@ public function generate($module, $entity_name, $entity_class)

$this->renderFile(
'module/menu_links-entity.yml.twig',
$this->getModulePath($module).'/'.$module.'.menu_links.yml',
$this->getModulePath($module).'/'.$module.'.links.menu.yml',
$parameters,
FILE_APPEND
);

$this->renderFile(
'module/local_tasks-entity.yml.twig',
$this->getModulePath($module).'/'.$module.'.local_tasks.yml',
$this->getModulePath($module).'/'.$module.'.links.task.yml',
$parameters,
FILE_APPEND
);

$this->renderFile(
'module/local_actions-entity-content.yml.twig',
$this->getModulePath($module).'/'.$module.'.local_actions.yml',
$this->getModulePath($module).'/'.$module.'.links.action.yml',
$parameters,
FILE_APPEND
);
Expand Down

0 comments on commit 24bbc65

Please sign in to comment.