You are here

public function FeedsYouTubeFetcher::defaultConfiguration in Feeds: YouTube Parser 8

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides PluginBase::defaultConfiguration

File

src/Feeds/Fetcher/FeedsYouTubeFetcher.php, line 331

Class

FeedsYouTubeFetcher
Constructs FeedsYouTubeFetcher object.

Namespace

Drupal\feeds_youtube\Feeds\Fetcher

Code

public function defaultConfiguration() {
  return [
    'google_developer_key' => '',
    'google_oauth_client_id' => '',
    'google_oauth_client_secret' => '',
    'import_video_limit' => 50,
    'results_per_page' => 50,
  ];
}