Version 1
[yaffs-website] / web / modules / contrib / entity_browser / src / Form / DisplayConfig.php
diff --git a/web/modules/contrib/entity_browser/src/Form/DisplayConfig.php b/web/modules/contrib/entity_browser/src/Form/DisplayConfig.php
new file mode 100644 (file)
index 0000000..14be01d
--- /dev/null
@@ -0,0 +1,26 @@
+<?php
+
+namespace Drupal\entity_browser\Form;
+
+use Drupal\entity_browser\EntityBrowserInterface;
+
+/**
+ * Display configuration step in entity browser form wizard.
+ */
+class DisplayConfig extends PluginConfigFormBase {
+
+  /**
+   * {@inheritdoc}
+   */
+  public function getFormId() {
+    return 'entity_browser_display_config_form';
+  }
+
+  /**
+   * {@inheritdoc}
+   */
+  public function getPlugin(EntityBrowserInterface $entity_browser) {
+    return $entity_browser->getDisplay();
+  }
+
+}