You are here

public function MediaTypeBase::defaultConfiguration in Media entity 8

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides ConfigurablePluginInterface::defaultConfiguration

1 call to MediaTypeBase::defaultConfiguration()
MediaTypeBase::setConfiguration in src/MediaTypeBase.php
Sets the configuration for this plugin instance.
1 method overrides MediaTypeBase::defaultConfiguration()
TestType::defaultConfiguration in tests/modules/media_entity_test_type/src/Plugin/MediaEntity/Type/TestType.php
Gets default configuration for this plugin.

File

src/MediaTypeBase.php, line 107

Class

MediaTypeBase
Base implementation of media type plugin.

Namespace

Drupal\media_entity

Code

public function defaultConfiguration() {
  return [];
}