protected function ResolverRelationshipDelete::actions in Chaos Tool Suite (ctools) 8.3
A custom form actions method.
Parameters
array $form: The form array.
\Drupal\Core\Form\FormStateInterface $form_state: The current form state.
$cached_values: The current wizard cached values.
Return value
array
1 call to ResolverRelationshipDelete::actions()
- ResolverRelationshipDelete::buildForm in src/
Form/ ResolverRelationshipDelete.php - Form constructor.
File
- src/
Form/ ResolverRelationshipDelete.php, line 124
Class
Namespace
Drupal\ctools\FormCode
protected function actions(array $form, FormStateInterface $form_state, $cached_values) {
return [
'submit' => [
'#type' => 'submit',
'#value' => $this
->getConfirmText(),
'#validate' => [
[
$this,
'validate',
],
],
'#submit' => [
[
$this,
'submitForm',
],
],
],
'cancel' => ConfirmFormHelper::buildCancelLink($this, $this
->getRequest()),
];
}