Verified Commit 9e36c151 authored by quietone's avatar quietone
Browse files

Issue #3471544 by ronttizz, sonyavpaa, joachim, longwave, smustgrave: array...

Issue #3471544 by ronttizz, sonyavpaa, joachim, longwave, smustgrave: array lines in hook_theme() sample code are too long
parent 4c1506bf
Loading
Loading
Loading
Loading
Loading
+19 −3
Original line number Diff line number Diff line
@@ -1251,13 +1251,29 @@ function hook_page_bottom(array &$page_bottom) {
function hook_theme($existing, $type, $theme, $path) {
  return [
    'my_module_display' => [
      'variables' => ['my_modules' => NULL, 'topics' => NULL, 'parents' => NULL, 'tid' => NULL, 'sortby' => NULL, 'my_module_per_page' => NULL],
      'variables' => [
        'my_modules' => NULL,
        'topics' => NULL,
        'parents' => NULL,
        'tid' => NULL,
        'sortby' => NULL,
        'my_module_per_page' => NULL,
      ],
    ],
    'my_module_list' => [
      'variables' => ['my_modules' => NULL, 'parents' => NULL, 'tid' => NULL],
      'variables' => [
        'my_modules' => NULL,
        'parents' => NULL,
        'tid' => NULL,
      ],
    ],
    'my_module_icon' => [
      'variables' => ['new_posts' => NULL, 'num_posts' => 0, 'comment_mode' => 0, 'sticky' => 0],
      'variables' => [
        'new_posts' => NULL,
        'num_posts' => 0,
        'comment_mode' => 0,
        'sticky' => 0,
      ],
    ],
    'status_report' => [
      'render element' => 'requirements',