You are here

public function RecentDownload::blockSubmit in Download Count 8

Overrides BlockPluginTrait::blockSubmit

File

src/Plugin/Block/RecentDownload.php, line 126

Class

RecentDownload
Provides a 'Recent Download Count' block.

Namespace

Drupal\download_count\Plugin\Block

Code

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