protected function MediaEditForm::getTargetBundles in Media Directories 3.x
Same name and namespace in other branches
- 8 modules/media_directories_ui/src/Form/MediaEditForm.php \Drupal\media_directories_ui\Form\MediaEditForm::getTargetBundles()
- 2.x modules/media_directories_ui/src/Form/MediaEditForm.php \Drupal\media_directories_ui\Form\MediaEditForm::getTargetBundles()
Parameters
\Drupal\Core\Form\FormStateInterface $form_state:
Return value
mixed
File
- modules/
media_directories_ui/ src/ Form/ MediaEditForm.php, line 97
Class
- MediaEditForm
- Class MediaEditForm
Namespace
Drupal\media_directories_ui\FormCode
protected function getTargetBundles(FormStateInterface $form_state) {
$bundles = $form_state
->get('target_bundles');
return $bundles;
}