function Test::defaultConfiguration

Same name in other branches
  1. 8.9.x core/modules/media/tests/modules/media_test_source/src/Plugin/media/Source/Test.php \Drupal\media_test_source\Plugin\media\Source\Test::defaultConfiguration()
  2. 10 core/modules/media/tests/modules/media_test_source/src/Plugin/media/Source/Test.php \Drupal\media_test_source\Plugin\media\Source\Test::defaultConfiguration()
  3. 11.x core/modules/media/tests/modules/media_test_source/src/Plugin/media/Source/Test.php \Drupal\media_test_source\Plugin\media\Source\Test::defaultConfiguration()

Overrides MediaSourceBase::defaultConfiguration

File

core/modules/media/tests/modules/media_test_source/src/Plugin/media/Source/Test.php, line 67

Class

Test
Provides test media source.

Namespace

Drupal\media_test_source\Plugin\media\Source

Code

public function defaultConfiguration() {
    return parent::defaultConfiguration() + [
        'test_config_value' => 'This is default value.',
    ];
}

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