FEATURE: make title in contents overview translatable and modifiable by module

This commit is contained in:
Michal Kváček
2016-09-05 00:00:52 +02:00
parent 8c4b1ad69b
commit 5ef2630810
4 changed files with 17 additions and 6 deletions
@@ -79,6 +79,10 @@ class Article extends Handler
return $changedColumns;
}
public static function getOverviewTitle() {
return trans('article::module.allArticles');
}
/**
*
* @param User $user
@@ -3,5 +3,6 @@ return [
'name' => 'Article',
'description' => 'Base submodule for blog',
'comments' => 'Comments',
'commentsOverview' => 'All comments'
'commentsOverview' => 'All comments',
'allArticles' => 'All articles'
];