public function AggregatorCategoryBlock::settings

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

Overrides BlockBase::settings

File

drupal/core/modules/aggregator/lib/Drupal/aggregator/Plugin/Block/AggregatorCategoryBlock.php, line 29
Contains \Drupal\aggregator\Plugin\Block\AggregatorCategoryBlock.

Class

AggregatorCategoryBlock
Provides an 'Aggregator category' block for the latest items in a category.

Namespace

Drupal\aggregator\Plugin\Block

Code

public function settings() {

  // By default, the block will contain 10 feed items.
  return array(
    'block_count' => 10,
  );
}