public function SetOrderStatusAction::submitConfigurationForm in Ubercart 8.4
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
- uc_order/
src/ Plugin/ Action/ SetOrderStatusAction.php, line 60
Class
- SetOrderStatusAction
- Sets the status of an order.
Namespace
Drupal\uc_order\Plugin\ActionCode
public function submitConfigurationForm(array &$form, FormStateInterface $form_state) {
$this->configuration['status'] = $form_state
->getValue('status');
$this->configuration['notify'] = $form_state
->getValue('notify');
}