public function MediaEditForm::buildInputElement in Media Directories 8
Same name and namespace in other branches
- 2.x modules/media_directories_ui/src/Form/MediaEditForm.php \Drupal\media_directories_ui\Form\MediaEditForm::buildInputElement()
Inheriting classes need to build the desired input element.
Overrides AddMediaFormBase::buildInputElement
File
- modules/
media_directories_ui/ src/ Form/ MediaEditForm.php, line 94
Class
- MediaEditForm
- Class MediaEditForm.
Namespace
Drupal\media_directories_ui\FormCode
public function buildInputElement(array $form, FormStateInterface $form_state) {
// No need for an input element in the edit form.
}