You are here

public function Pinterest::defaultConfiguration in Media entity Pinterest 8

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides MediaTypeBase::defaultConfiguration

File

src/Plugin/MediaEntity/Type/Pinterest.php, line 69

Class

Pinterest
Provides media type plugin for Pinterest.

Namespace

Drupal\media_entity_pinterest\Plugin\MediaEntity\Type

Code

public function defaultConfiguration() {
  return [
    'use_pinterest_api' => FALSE,
  ];
}