public static ManagedFile::validateManagedFile(&$element, FormStateInterface $form_state, &$complete_form)
Render API callback: Validates the managed_file element.
File
core/modules/file/src/Element/ManagedFile.php, line 396
Class
ManagedFile Provides an AJAX/progress aware widget for uploading and saving a file.
Namespace
Drupal\file\Element
Code
public static function validateManagedFile(&$element, FormStateInterface $form_state, &$complete_form) {
// If referencing