FEATURE: make title in contents overview translatable and modifiable by module
This commit is contained in:
@@ -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'
|
||||
];
|
||||
Reference in New Issue
Block a user