You are here

public function FileDownloadPopularBlock::defaultConfiguration in File Download 8

Overrides BlockPluginTrait::defaultConfiguration

File

modules/file_download_counter/src/Plugin/Block/FileDownloadPopularBlock.php, line 23

Class

FileDownloadPopularBlock
Provides a 'Popular content' block.

Namespace

Drupal\file_download_counter\Plugin\Block

Code

public function defaultConfiguration() {
  return [
    'top_day_num' => 0,
    'top_all_num' => 0,
    'top_last_num' => 0,
  ];
}