Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 4 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
28 | public function get_config(array $settings) |
||
29 | { |
||
30 | 1 | $depth_options = $this->get_depth_options(); |
|
31 | |||
32 | 1 | return array_merge( |
|
33 | 1 | parent::get_config($settings), |
|
34 | array( |
||
35 | 'expanded' => array('lang' => 'EXPANDED', 'validate' => 'bool', 'type' => 'radio:yes_no', 'default' => 0, 'explain' => false), |
||
36 | 1 | 'max_depth' => array('lang' => 'MAX_DEPTH', 'validate' => 'int', 'type' => 'select', 'options' => $depth_options, 'default' => 3, 'explain' => false), |
|
37 | 1 | ) |
|
55 |