| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php |
||
| 27 | public function elementConfig(): array |
||
| 28 | { |
||
| 29 | $controls = parent::elementConfig(); |
||
| 30 | $controls = Arr::insertBefore('text', $controls, [ |
||
| 31 | 'text_notice' => [ |
||
| 32 | 'content' => esc_html_x('The recommended way to change these values is to use the Site Reviews → Settings → Strings page.', 'admin-text', 'site-reviews'), |
||
| 33 | 'group' => 'text', |
||
| 34 | 'tab' => 'content', |
||
| 35 | 'type' => 'info', |
||
| 36 | ], |
||
| 37 | ]); |
||
| 38 | return $controls; |
||
| 39 | } |
||
| 57 |