protected function Basic::getExecutePaymentStatusSelector in Payment 8.2
Gets the payment status selector for the execute phase.
Parameters
\Drupal\Core\Form\FormStateInterface $form_state:
Return value
\Drupal\plugin\Plugin\Plugin\PluginSelector\PluginSelectorInterface
File
- src/
Plugin/ Payment/ MethodConfiguration/ Basic.php, line 362
Class
- Basic
- Provides the configuration for the payment_basic payment method plugin.
Namespace
Drupal\payment\Plugin\Payment\MethodConfigurationCode
protected function getExecutePaymentStatusSelector(FormStateInterface $form_state) {
$plugin_selector = $this
->getPaymentStatusSelector($form_state, 'execute', $this
->getExecuteStatusId());
$plugin_selector
->setLabel($this
->t('Payment execution status'));
$plugin_selector
->setDescription($this
->t('The status to set payments to after being executed by this payment method.'));
return $plugin_selector;
}