| 1 | <?php |
||
| 14 | abstract class PluginConfigFormBase extends FormBase { |
||
| 15 | |||
| 16 | /** |
||
| 17 | * {@inheritdoc} |
||
| 18 | */ |
||
| 19 | public function buildForm(array $form, FormStateInterface $form_state) { |
||
| 25 | |||
| 26 | /** |
||
| 27 | * {@inheritdoc} |
||
| 28 | */ |
||
| 29 | public function validateForm(array &$form, FormStateInterface $form_state) { |
||
| 34 | |||
| 35 | /** |
||
| 36 | * {@inheritdoc} |
||
| 37 | */ |
||
| 38 | public function submitForm(array &$form, FormStateInterface $form_state) { |
||
| 43 | |||
| 44 | /** |
||
| 45 | * Gets plugin that form operates with. |
||
| 46 | * |
||
| 47 | * @return \Drupal\Core\Plugin\PluginFormInterface |
||
| 48 | * Plugin instance. |
||
| 49 | */ |
||
| 50 | abstract public function getPlugin(EntityBrowserInterface $entity_browser); |
||
| 51 | |||
| 52 | } |
||
| 53 |