You are here

public function PoweredByBlock::blockSubmit in Ubercart 8.4

Overrides BlockPluginTrait::blockSubmit

File

uc_store/src/Plugin/Block/PoweredByBlock.php, line 112

Class

PoweredByBlock
Provides a block to identify Ubercart as the store software on a site.

Namespace

Drupal\uc_store\Plugin\Block

Code

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