You are here

public function TopDownload::blockSubmit in Download Count 8

Overrides BlockPluginTrait::blockSubmit

File

src/Plugin/Block/TopDownload.php, line 88

Class

TopDownload
Provides a 'Top Downloaded Files' block.

Namespace

Drupal\download_count\Plugin\Block

Code

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