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