public function MemberCountBlock::blockSubmit in Organic groups 8
Overrides BlockPluginTrait::blockSubmit
File
- src/
Plugin/ Block/ MemberCountBlock.php, line 111
Class
- MemberCountBlock
- Provides a block that shows the number of members in the current group.
Namespace
Drupal\og\Plugin\BlockCode
public function blockSubmit($form, FormStateInterface $form_state) {
foreach (array_keys($this
->defaultConfiguration()) as $setting) {
$this->configuration[$setting] = $form_state
->getValue($setting);
}
}