You are here

public function ForumBlockBase::blockSubmit in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/forum/src/Plugin/Block/ForumBlockBase.php \Drupal\forum\Plugin\Block\ForumBlockBase::blockSubmit()

Overrides BlockPluginTrait::blockSubmit

File

core/modules/forum/src/Plugin/Block/ForumBlockBase.php, line 78

Class

ForumBlockBase
Provides a base class for Forum blocks.

Namespace

Drupal\forum\Plugin\Block

Code

public function blockSubmit($form, FormStateInterface $form_state) {
  $this->configuration['block_count'] = $form_state
    ->getValue('block_count');
}