You are here

public function BynderWidgetBase::defaultConfiguration in Bynder 4.0.x

Same name and namespace in other branches
  1. 8.3 src/Plugin/EntityBrowser/Widget/BynderWidgetBase.php \Drupal\bynder\Plugin\EntityBrowser\Widget\BynderWidgetBase::defaultConfiguration()
  2. 8 src/Plugin/EntityBrowser/Widget/BynderWidgetBase.php \Drupal\bynder\Plugin\EntityBrowser\Widget\BynderWidgetBase::defaultConfiguration()
  3. 8.2 src/Plugin/EntityBrowser/Widget/BynderWidgetBase.php \Drupal\bynder\Plugin\EntityBrowser\Widget\BynderWidgetBase::defaultConfiguration()
2 calls to BynderWidgetBase::defaultConfiguration()
BynderSearch::defaultConfiguration in src/Plugin/EntityBrowser/Widget/BynderSearch.php
BynderUpload::defaultConfiguration in src/Plugin/EntityBrowser/Widget/BynderUpload.php
2 methods override BynderWidgetBase::defaultConfiguration()
BynderSearch::defaultConfiguration in src/Plugin/EntityBrowser/Widget/BynderSearch.php
BynderUpload::defaultConfiguration in src/Plugin/EntityBrowser/Widget/BynderUpload.php

File

src/Plugin/EntityBrowser/Widget/BynderWidgetBase.php, line 119

Class

BynderWidgetBase
Base class for Bynder Entity browser widgets.

Namespace

Drupal\bynder\Plugin\EntityBrowser\Widget

Code

public function defaultConfiguration() {
  return [
    'media_type' => NULL,
  ] + parent::defaultConfiguration();
}