| Conditions | 1 |
| Paths | 1 |
| Total Lines | 39 |
| Code Lines | 33 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | public function designConfig(): array |
||
| 11 | { |
||
| 12 | return [ |
||
| 13 | 'style_align' => [ |
||
| 14 | 'exclude' => ['stretch', 'auto'], |
||
| 15 | 'group' => 'design', |
||
| 16 | 'inline' => true, |
||
| 17 | 'label' => esc_html__('Align', 'bricks'), |
||
| 18 | 'rerender' => true, |
||
| 19 | 'tab' => 'style', |
||
| 20 | 'themeStyle' => true, |
||
| 21 | 'type' => 'align-items', |
||
| 22 | ], |
||
| 23 | 'separator_review' => [ |
||
| 24 | 'group' => 'design', |
||
| 25 | 'label' => esc_html_x('Review', 'admin-text', 'site-reviews'), |
||
| 26 | 'tab' => 'content', |
||
| 27 | 'type' => 'separator', |
||
| 28 | ], |
||
| 29 | 'style_text_align' => [ |
||
| 30 | 'exclude' => ['auto', 'justify'], |
||
| 31 | 'group' => 'design', |
||
| 32 | 'inline' => true, |
||
| 33 | 'label' => esc_html_x('Text Align', 'admin-text', 'site-reviews'), |
||
| 34 | 'rerender' => true, |
||
| 35 | 'tab' => 'style', |
||
| 36 | 'themeStyle' => true, |
||
| 37 | 'type' => 'text-align', |
||
| 38 | ], |
||
| 39 | 'style_heading' => [ |
||
| 40 | 'css' => [[ |
||
| 41 | 'selector' => '.glsr:not([data-theme]) h2, .glsr:not([data-theme]) h3, .glsr:not([data-theme]) h4', |
||
| 42 | 'property' => 'font', |
||
| 43 | ]], |
||
| 44 | 'group' => 'design', |
||
| 45 | 'label' => esc_html_x('Heading', 'admin-text', 'site-reviews'), |
||
| 46 | 'tab' => 'style', |
||
| 47 | 'themeStyle' => true, |
||
| 48 | 'type' => 'typography', |
||
| 49 | ], |
||
| 69 |