2625ed0521900109025ae1da295d4edc5942162f
[yaffs-website] / Form / WidgetSelectorConfig.php
1 <?php
2
3 namespace Drupal\entity_browser\Form;
4
5 use Drupal\entity_browser\EntityBrowserInterface;
6
7 /**
8  * Widget selector configuration step in entity browser form wizard.
9  */
10 class WidgetSelectorConfig extends PluginConfigFormBase {
11
12   /**
13    * {@inheritdoc}
14    */
15   public function getFormId() {
16     return 'entity_browser_widget_selector_config_form';
17   }
18
19   /**
20    * {@inheritdoc}
21    */
22   public function getPlugin(EntityBrowserInterface $entity_browser) {
23     return $entity_browser->getWidgetSelector();
24   }
25
26 }