following contents:
```php
-/**
- * @file
- * Contains \Drupal\THEMENAME\Plugin\Form\SearchBlockForm.
- */
+<?php
namespace Drupal\THEMENAME\Plugin\Form;
-use Drupal\bootstrap\Annotation\BootstrapForm;
+use Drupal\bootstrap\Plugin\Form\SearchBlockForm as BootstrapSearchBlockForm;
use Drupal\bootstrap\Utility\Element;
use Drupal\Core\Form\FormStateInterface;
*
* @BootstrapForm("search_block_form")
*/
-class SearchBlockForm extends \Drupal\bootstrap\Plugin\Form\SearchBlockForm {
+class SearchBlockForm extends BootstrapSearchBlockForm {
/**
* {@inheritdoc}
// This method is the same as above, except the the $form argument passed is
// an instance of \Drupal\bootstrap\Utility\Element for easier manipulation.
// Using this method is preferable and considered "Best Practice".
-
+ //
// Disable #input_group_button using the $form Element object:
- // $form->keys->setProperty('input_group_button', FALSE);
+ // $form->keys->setProperty('input_group_button', FALSE);.
}
/**
}
}
+?>
```
## Rebuild the cache {#rebuild}