public function StatisticsPopularBlock::settings

Overrides \Drupal\block\BlockBase::settings().

Overrides BlockBase::settings

File

drupal/core/modules/statistics/lib/Drupal/statistics/Plugin/Block/StatisticsPopularBlock.php, line 49
Contains \Drupal\statistics\Plugin\Block\StatisticsPopularBlock.

Class

StatisticsPopularBlock
Provides a 'Popular content' block.

Namespace

Drupal\statistics\Plugin\Block

Code

public function settings() {
  return array(
    'top_day_num' => 0,
    'top_all_num' => 0,
    'top_last_num' => 0,
  );
}