You are here

public function RecentGroupContentBlock::blockSubmit in Organic groups 8

Overrides BlockPluginTrait::blockSubmit

File

src/Plugin/Block/RecentGroupContentBlock.php, line 173

Class

RecentGroupContentBlock
Provides a block that shows recent group content for the current group.

Namespace

Drupal\og\Plugin\Block

Code

public function blockSubmit($form, FormStateInterface $form_state) {
  foreach ([
    'entity_type',
    'bundles',
    'count',
  ] as $setting) {
    $this->configuration[$setting] = $form_state
      ->getValue($setting);
  }
}