protected function ScheduledUpdateTypeBaseForm::typeDependentAjax in Scheduled Updates 8
Return value
array
3 calls to ScheduledUpdateTypeBaseForm::typeDependentAjax()
- ScheduledUpdateTypeBaseForm::createCloneFieldSelect in src/
Form/ ScheduledUpdateTypeBaseForm.php - Create an option to select one field to clone on type add form.
- ScheduledUpdateTypeBaseForm::form in src/
Form/ ScheduledUpdateTypeBaseForm.php - Gets the actual form array to be built.
- ScheduledUpdateTypeForm::form in src/
Form/ ScheduledUpdateTypeForm.php - Gets the actual form array to be built.
File
- src/
Form/ ScheduledUpdateTypeBaseForm.php, line 581 - Contains \Drupal\scheduled_updates\Form\ScheduledUpdateTypeBaseForm.
Class
Namespace
Drupal\scheduled_updates\FormCode
protected function typeDependentAjax() {
$ajax = [
// Maybe don't need this anymore.
//'#limit_validation_errors' => array(),
'#ajax' => array(
'wrapper' => 'type-dependent-set',
'callback' => '::updateTypeDependentSet',
'method' => 'replace',
),
];
return $ajax;
}