Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
29 | public function blockForm($form, FormStateInterface $form_state) { |
||
30 | $form['code'] = [ |
||
31 | '#title' => $this->t('Code'), |
||
32 | '#type' => 'text_format', |
||
33 | '#format' => 'full_html', |
||
34 | '#description' => $this->t('Add javascript or html code.'), |
||
35 | '#default_value' => $this->configuration['code']['value'], |
||
36 | '#weight' => '6', |
||
37 | ]; |
||
38 | |||
39 | return $form; |
||
40 | } |
||
58 |