You are here

public function BynderSearch::defaultConfiguration in Bynder 8

Same name and namespace in other branches
  1. 8.3 src/Plugin/EntityBrowser/Widget/BynderSearch.php \Drupal\bynder\Plugin\EntityBrowser\Widget\BynderSearch::defaultConfiguration()
  2. 8.2 src/Plugin/EntityBrowser/Widget/BynderSearch.php \Drupal\bynder\Plugin\EntityBrowser\Widget\BynderSearch::defaultConfiguration()
  3. 4.0.x src/Plugin/EntityBrowser/Widget/BynderSearch.php \Drupal\bynder\Plugin\EntityBrowser\Widget\BynderSearch::defaultConfiguration()

Overrides BynderWidgetBase::defaultConfiguration

File

src/Plugin/EntityBrowser/Widget/BynderSearch.php, line 178

Class

BynderSearch
Uses a Bynder API to search and provide entity listing in a browser's widget.

Namespace

Drupal\bynder\Plugin\EntityBrowser\Widget

Code

public function defaultConfiguration() {
  return [
    'items_per_page' => 15,
    'tags_filter' => TRUE,
    'allowed_properties' => [],
  ] + parent::defaultConfiguration();
}