You are here

public function MaestroProcessStatusBlock::blockSubmit in Maestro 3.x

Same name and namespace in other branches
  1. 8.2 src/Plugin/Block/MaestroProcessStatusBlock.php \Drupal\maestro\Plugin\Block\MaestroProcessStatusBlock::blockSubmit()

Overrides BlockPluginTrait::blockSubmit

File

src/Plugin/Block/MaestroProcessStatusBlock.php, line 65

Class

MaestroProcessStatusBlock
Provides a Maestro block that shows the linear status output for processes this user belongs to or in general.

Namespace

Drupal\maestro\Plugin\Block

Code

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