You are here

public function SetStatus::validateConfigurationForm in Payment 8.2

Form validation 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 ConfigurableActionBase::validateConfigurationForm

File

src/Plugin/Action/SetStatus.php, line 105

Class

SetStatus
Sets a status on a payment.

Namespace

Drupal\payment\Plugin\Action

Code

public function validateConfigurationForm(array &$form, FormStateInterface $form_state) {
  $this
    ->getPluginSelector($form_state)
    ->validateSelectorForm($form['payment_status_plugin_id'], $form_state);
}