'#type' => 'radios',
'#title' =>
$this->
t('Available actions'
),
'#options' =>
[ 'exclude' =>
$this->
t('All actions, except selected'
),
'include' =>
$this->
t('Only selected actions'
),
],
'#default_value' =>
$this->options
['include_exclude'
],
];
$form['selected_actions'
] =
[ '#type' => 'checkboxes',
'#title' =>
$this->
t('Selected actions'
),
'#options' =>
$this->
getBulkOptions(FALSE
),
'#default_value' =>
$this->options
['selected_actions'
],
];
parent::
buildOptionsForm($form,
$form_state);
} /**
* {@inheritdoc}
*/
public function validateOptionsForm(&
$form, FormStateInterface
$form_state) { parent::
validateOptionsForm($form,
$form_state);