protected function ConditionDelete::actions in Chaos Tool Suite (ctools) 8.3
1 call to ConditionDelete::actions()
- ConditionDelete::buildForm in src/
Form/ ConditionDelete.php - Form constructor.
File
- src/
Form/ ConditionDelete.php, line 129
Class
Namespace
Drupal\ctools\FormCode
protected function actions(array $form, FormStateInterface $form_state) {
return [
'submit' => [
'#type' => 'submit',
'#value' => $this
->getConfirmText(),
'#validate' => [
[
$this,
'validateForm',
],
],
'#submit' => [
[
$this,
'submitForm',
],
],
],
'cancel' => ConfirmFormHelper::buildCancelLink($this, $this
->getRequest()),
];
}