1 | <?php |
||
17 | abstract class PluginConfigFormBase extends FormBase { |
||
18 | |||
19 | /** |
||
20 | * {@inheritdoc} |
||
21 | */ |
||
22 | public function buildForm(array $form, FormStateInterface $form_state) { |
||
28 | |||
29 | /** |
||
30 | * {@inheritdoc} |
||
31 | */ |
||
32 | public function validateForm(array &$form, FormStateInterface $form_state) { |
||
37 | |||
38 | /** |
||
39 | * {@inheritdoc} |
||
40 | */ |
||
41 | public function submitForm(array &$form, FormStateInterface $form_state) { |
||
46 | |||
47 | /** |
||
48 | * Gets plugin that form operates with. |
||
49 | * |
||
50 | * @return \Drupal\Core\Plugin\PluginFormInterface |
||
51 | * Plugin instance. |
||
52 | */ |
||
53 | abstract public function getPlugin(EntityBrowserInterface $entity_browser); |
||
54 | |||
55 | } |
||
56 |