You are here

public function EntityFormProxy::defaultConfiguration in Lightning Media 8

Same name and namespace in other branches
  1. 8.4 src/Plugin/EntityBrowser/Widget/EntityFormProxy.php \Drupal\lightning_media\Plugin\EntityBrowser\Widget\EntityFormProxy::defaultConfiguration()
  2. 8.2 src/Plugin/EntityBrowser/Widget/EntityFormProxy.php \Drupal\lightning_media\Plugin\EntityBrowser\Widget\EntityFormProxy::defaultConfiguration()
  3. 8.3 src/Plugin/EntityBrowser/Widget/EntityFormProxy.php \Drupal\lightning_media\Plugin\EntityBrowser\Widget\EntityFormProxy::defaultConfiguration()
1 call to EntityFormProxy::defaultConfiguration()
FileUpload::defaultConfiguration in src/Plugin/EntityBrowser/Widget/FileUpload.php
1 method overrides EntityFormProxy::defaultConfiguration()
FileUpload::defaultConfiguration in src/Plugin/EntityBrowser/Widget/FileUpload.php

File

src/Plugin/EntityBrowser/Widget/EntityFormProxy.php, line 196

Class

EntityFormProxy
Base class for EB widgets which wrap around an (inline) entity form.

Namespace

Drupal\lightning_media\Plugin\EntityBrowser\Widget

Code

public function defaultConfiguration() {
  $configuration = parent::defaultConfiguration();
  $configuration['form_mode'] = 'media_browser';
  return $configuration;
}