Issues (1834)

boinc_standard/boinc_standard.panels_default.inc (1 issue)

Labels
Severity
1
<?php
2
3
/**
4
 * Implementation of hook_default_panels_mini().
5
 */
6
function boinc_standard_default_panels_mini() {
7
  $export = array();
8
9
  $mini = new stdClass;
10
  $mini->disabled = FALSE; /* Edit this to true to make a default mini disabled initially */
11
  $mini->api_version = 1;
12
  $mini->name = 'dashboard_tables';
13
  $mini->category = 'BOINC';
14
  $mini->admin_title = 'Dashboard tables';
15
  $mini->admin_description = 'Tables of computers and projects for a user';
16
  $mini->requiredcontexts = array();
17
  $mini->contexts = array();
18
  $mini->relationships = array();
19
  $display = new panels_display;
0 ignored issues
show
The type panels_display was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
20
  $display->layout = 'twocol_stacked';
21
  $display->layout_settings = array();
22
  $display->panel_settings = array(
23
    'style_settings' => array(
24
      'default' => NULL,
25
      'left' => NULL,
26
      'right' => NULL,
27
      'top' => NULL,
28
      'bottom' => NULL,
29
    ),
30
  );
31
  $display->cache = array();
32
  $display->title = '';
33
  $display->storage_type = 'panels_mini';
34
  $display->storage_id = 'dashboard_tables';
35
  $display->content = array();
36
  $display->panels = array();
37
    $pane = new stdClass;
38
    $pane->pid = 'new-1';
39
    $pane->panel = 'left';
40
    $pane->type = 'views_panes';
41
    $pane->subtype = 'boinc_account_computers-panel_pane_1';
42
    $pane->shown = TRUE;
43
    $pane->access = array();
44
    $pane->configuration = array();
45
    $pane->cache = array();
46
    $pane->style = array(
47
      'settings' => NULL,
48
    );
49
    $pane->css = array();
50
    $pane->extras = array();
51
    $pane->position = 0;
52
    $display->content['new-1'] = $pane;
53
    $display->panels['left'][0] = 'new-1';
54
    $pane = new stdClass;
55
    $pane->pid = 'new-2';
56
    $pane->panel = 'right';
57
    $pane->type = 'panels_mini';
58
    $pane->subtype = 'user_project_list';
59
    $pane->shown = TRUE;
60
    $pane->access = array();
61
    $pane->configuration = array(
62
      'override_title' => 0,
63
      'override_title_text' => '',
64
    );
65
    $pane->cache = array();
66
    $pane->style = array(
67
      'settings' => NULL,
68
    );
69
    $pane->css = array();
70
    $pane->extras = array();
71
    $pane->position = 0;
72
    $display->content['new-2'] = $pane;
73
    $display->panels['right'][0] = 'new-2';
74
    $pane = new stdClass;
75
    $pane->pid = 'new-3';
76
    $pane->panel = 'top';
77
    $pane->type = 'views_panes';
78
    $pane->subtype = 'boinc_account_stats-panel_pane_1';
79
    $pane->shown = TRUE;
80
    $pane->access = array();
81
    $pane->configuration = array();
82
    $pane->cache = array();
83
    $pane->style = array(
84
      'settings' => NULL,
85
    );
86
    $pane->css = array();
87
    $pane->extras = array();
88
    $pane->position = 0;
89
    $display->content['new-3'] = $pane;
90
    $display->panels['top'][0] = 'new-3';
91
  $display->hide_title = PANELS_TITLE_NONE;
92
  $display->title_pane = '0';
93
  $mini->display = $display;
94
  $export['dashboard_tables'] = $mini;
95
96
  return $export;
97
}
98