public function RemoveMediaFromGroup::submitConfigurationForm in Group Media 8.2
Same name in this branch
- 8.2 src/Plugin/Action/RemoveMediaFromGroup.php \Drupal\groupmedia\Plugin\Action\RemoveMediaFromGroup::submitConfigurationForm()
- 8.2 modules/groupmedia_vbo/src/Plugin/Action/RemoveMediaFromGroup.php \Drupal\groupmedia_vbo\Plugin\Action\RemoveMediaFromGroup::submitConfigurationForm()
Form submission handler.
Parameters
array $form: An associative array containing the structure of the plugin form as built by static::buildConfigurationForm().
\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Calling code should pass on a subform state created through \Drupal\Core\Form\SubformState::createForSubform().
Overrides PluginFormInterface::submitConfigurationForm
File
- modules/
groupmedia_vbo/ src/ Plugin/ Action/ RemoveMediaFromGroup.php, line 102
Class
- RemoveMediaFromGroup
- Remove media from Group.
Namespace
Drupal\groupmedia_vbo\Plugin\ActionCode
public function submitConfigurationForm(array &$form, FormStateInterface $form_state) {
$this->configuration['group_id'] = $form_state
->getValue('group_id');
}