Update Composer, update everything
This commit is contained in:
parent
ea3e94409f
commit
dda5c284b6
19527 changed files with 1135420 additions and 351004 deletions
20
vendor/chi-teck/drupal-code-generator/templates/d8/hook/theme.twig
vendored
Normal file
20
vendor/chi-teck/drupal-code-generator/templates/d8/hook/theme.twig
vendored
Normal file
|
@ -0,0 +1,20 @@
|
|||
/**
|
||||
* Implements hook_theme().
|
||||
*/
|
||||
function {{ machine_name }}_theme($existing, $type, $theme, $path) {
|
||||
return [
|
||||
'forum_display' => [
|
||||
'variables' => ['forums' => NULL, 'topics' => NULL, 'parents' => NULL, 'tid' => NULL, 'sortby' => NULL, 'forum_per_page' => NULL],
|
||||
],
|
||||
'forum_list' => [
|
||||
'variables' => ['forums' => NULL, 'parents' => NULL, 'tid' => NULL],
|
||||
],
|
||||
'forum_icon' => [
|
||||
'variables' => ['new_posts' => NULL, 'num_posts' => 0, 'comment_mode' => 0, 'sticky' => 0],
|
||||
],
|
||||
'status_report' => [
|
||||
'render element' => 'requirements',
|
||||
'file' => 'system.admin.inc',
|
||||
],
|
||||
];
|
||||
}
|
Reference in a new issue