Conditions | 2 |
Paths | 2 |
Total Lines | 9 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
27 | public function updateFormActions($actions, $controller, $formName, $context) |
||
28 | { |
||
29 | if ($popoverField = $actions->fieldByName('PopoverActions')) { |
||
30 | $popoverField->unshift(FormAction::create( |
||
31 | 'addtocampaign', |
||
32 | _t('SilverStripe\\AssetAdmin\\Controller\\AssetAdmin.ADDTOCAMPAIGN', 'Add to campaign') |
||
33 | )); |
||
34 | } |
||
35 | } |
||
36 | } |
||
37 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.