public function BynderConfigurationForm::usageAjaxCallback in Bynder 8
Same name and namespace in other branches
- 8.3 src/Form/BynderConfigurationForm.php \Drupal\bynder\Form\BynderConfigurationForm::usageAjaxCallback()
- 8.2 src/Form/BynderConfigurationForm.php \Drupal\bynder\Form\BynderConfigurationForm::usageAjaxCallback()
- 4.0.x src/Form/BynderConfigurationForm.php \Drupal\bynder\Form\BynderConfigurationForm::usageAjaxCallback()
Ajax callback for usage metadata select field.
File
- src/
Form/ BynderConfigurationForm.php, line 312
Class
- BynderConfigurationForm
- Configure bynder to enable OAuth based access.
Namespace
Drupal\bynder\FormCode
public function usageAjaxCallback(array &$form, FormStateInterface &$form_state) {
$form_state
->setRebuild(TRUE);
return $form['usage_wrapper']['restrictions'];
}