function ConfigurableInterface::defaultConfiguration

Same name and namespace in other branches
  1. 11.x core/lib/Drupal/Component/Plugin/ConfigurableInterface.php \Drupal\Component\Plugin\ConfigurableInterface::defaultConfiguration()
  2. 10 core/lib/Drupal/Component/Plugin/ConfigurableInterface.php \Drupal\Component\Plugin\ConfigurableInterface::defaultConfiguration()
  3. 8.9.x core/lib/Drupal/Component/Plugin/ConfigurableInterface.php \Drupal\Component\Plugin\ConfigurableInterface::defaultConfiguration()

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

1 method overrides ConfigurableInterface::defaultConfiguration()
MediaSourceBase::defaultConfiguration in core/modules/media/src/MediaSourceBase.php
Gets default configuration for this plugin.

File

core/lib/Drupal/Component/Plugin/ConfigurableInterface.php, line 34

Class

ConfigurableInterface
Provides an interface for a configurable plugin.

Namespace

Drupal\Component\Plugin

Code

public function defaultConfiguration();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.