1 | <?php |
||
2 | |||
3 | /** |
||
4 | * Implementation of hook_default_panels_mini(). |
||
5 | */ |
||
6 | function user_account_project_list_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 = 'user_project_list'; |
||
13 | $mini->category = 'BOINC'; |
||
14 | $mini->admin_title = 'User project list'; |
||
15 | $mini->admin_description = 'A list of all BOINC projects in which a user is participating'; |
||
16 | $mini->requiredcontexts = array(); |
||
17 | $mini->contexts = array(); |
||
18 | $mini->relationships = array(); |
||
19 | $display = new panels_display; |
||
0 ignored issues
–
show
|
|||
20 | $display->layout = 'onecol'; |
||
21 | $display->layout_settings = array(); |
||
22 | $display->panel_settings = array( |
||
23 | 'style_settings' => array( |
||
24 | 'default' => NULL, |
||
25 | 'middle' => NULL, |
||
26 | ), |
||
27 | ); |
||
28 | $display->cache = array(); |
||
29 | $display->title = ''; |
||
30 | $display->storage_type = 'panels_mini'; |
||
31 | $display->storage_id = 'user_project_list'; |
||
32 | $display->content = array(); |
||
33 | $display->panels = array(); |
||
34 | $pane = new stdClass; |
||
35 | $pane->pid = 'new-1'; |
||
36 | $pane->panel = 'middle'; |
||
37 | $pane->type = 'custom'; |
||
38 | $pane->subtype = 'custom'; |
||
39 | $pane->shown = TRUE; |
||
40 | $pane->access = array(); |
||
41 | $pane->configuration = array( |
||
42 | 'admin_title' => 'Dashboard project table', |
||
43 | 'title' => bts('Projects', array(), NULL, 'boinc:account-dashboard'), |
||
44 | 'body' => '<?php echo boincuser_get_projects_table(); ?>', |
||
45 | 'format' => '3', |
||
46 | 'substitute' => TRUE, |
||
47 | ); |
||
48 | $pane->cache = array(); |
||
49 | $pane->style = array( |
||
50 | 'settings' => NULL, |
||
51 | ); |
||
52 | $pane->css = array(); |
||
53 | $pane->extras = array(); |
||
54 | $pane->position = 0; |
||
55 | $display->content['new-1'] = $pane; |
||
56 | $display->panels['middle'][0] = 'new-1'; |
||
57 | $display->hide_title = PANELS_TITLE_FIXED; |
||
58 | $display->title_pane = 'new-1'; |
||
59 | $mini->display = $display; |
||
60 | $export['user_project_list'] = $mini; |
||
61 | |||
62 | return $export; |
||
63 | } |
||
64 |
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:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths