Conditions | 1 |
Paths | 1 |
Total Lines | 22 |
Code Lines | 16 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
38 | public static function getFieldMetaData(): array |
||
39 | { |
||
40 | return [ |
||
41 | 'role_id' => [ |
||
42 | 'label' => 'Role ID', |
||
43 | 'helptext' => 'ID of the role that was assigned to' |
||
44 | ], |
||
45 | 'position_id' => [ |
||
46 | 'label' => 'Position ID', |
||
47 | 'helptext' => 'ID of the position that was assigned to' |
||
48 | ], |
||
49 | 'position_name' => [ |
||
50 | 'label' => 'Position Name', |
||
51 | 'helptext' => 'Name of the position that was assigned to' |
||
52 | ], |
||
53 | 'role_name' => [ |
||
54 | 'label' => 'Role Name', |
||
55 | 'helptext' => 'Custom name for the role that was assigned to' |
||
56 | ], |
||
57 | 'role_email' => [ |
||
58 | 'label' => 'Role Email', |
||
59 | 'helptext' => 'Email of the role that was assigned to' |
||
60 | ] |
||
63 | } |