public function StatisticsPopularBlock::defaultConfiguration in Drupal 10
Same name and namespace in other branches
- 8 core/modules/statistics/src/Plugin/Block/StatisticsPopularBlock.php \Drupal\statistics\Plugin\Block\StatisticsPopularBlock::defaultConfiguration()
- 9 core/modules/statistics/src/Plugin/Block/StatisticsPopularBlock.php \Drupal\statistics\Plugin\Block\StatisticsPopularBlock::defaultConfiguration()
File
- core/
modules/ statistics/ src/ Plugin/ Block/ StatisticsPopularBlock.php, line 96
Class
- StatisticsPopularBlock
- Provides a 'Popular content' block.
Namespace
Drupal\statistics\Plugin\BlockCode
public function defaultConfiguration() {
return [
'top_day_num' => 0,
'top_all_num' => 0,
'top_last_num' => 0,
];
}