Total Complexity | 3 |
Total Lines | 29 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
8 | class SiteSummaryExtension extends Extension |
||
9 | { |
||
10 | /** |
||
11 | * Update screen bound report columns to remove the text (csv) column |
||
12 | * listing SecurityAlert Identifier numbers, and include the view assets to render appropriately |
||
13 | * |
||
14 | * @param array $columns Report display columns |
||
15 | */ |
||
16 | public function updateColumns(&$columns) |
||
23 | } |
||
24 | |||
25 | /** |
||
26 | * Update the Package's screen bound summary info with little badges to indicate |
||
27 | * security alerts are present for this package |
||
28 | * |
||
29 | * @param array $alerts a list of alerts to display |
||
30 | */ |
||
31 | public function updateAlerts(&$alerts) |
||
40 |