public function AggregatorFeedBlock::blockSubmit in Drupal 8
Same name and namespace in other branches
- 9 core/modules/aggregator/src/Plugin/Block/AggregatorFeedBlock.php \Drupal\aggregator\Plugin\Block\AggregatorFeedBlock::blockSubmit()
Overrides BlockPluginTrait::blockSubmit
File
- core/
modules/ aggregator/ src/ Plugin/ Block/ AggregatorFeedBlock.php, line 120
Class
- AggregatorFeedBlock
- Provides an 'Aggregator feed' block with the latest items from the feed.
Namespace
Drupal\aggregator\Plugin\BlockCode
public function blockSubmit($form, FormStateInterface $form_state) {
$this->configuration['block_count'] = $form_state
->getValue('block_count');
$this->configuration['feed'] = $form_state
->getValue('feed');
}