You are here

public function FeedbackBlock::blockSubmit in Feedback 3.x

Overrides BlockPluginTrait::blockSubmit

File

src/Plugin/Block/FeedbackBlock.php, line 155

Class

FeedbackBlock
Provides a 'FeedbackBlock' block.

Namespace

Drupal\feedback\Plugin\Block

Code

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