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