public static function YamlFormAdminSettingsForm::validateMaxFilesize in YAML Form 8
Wrapper for FileItem::validateMaxFilesize.
File
- src/
Form/ YamlFormAdminSettingsForm.php, line 729
Class
- YamlFormAdminSettingsForm
- Configure form admin settings for this site.
Namespace
Drupal\yamlform\FormCode
public static function validateMaxFilesize($element, FormStateInterface $form_state) {
if (class_exists('\\Drupal\\file\\Plugin\\Field\\FieldType\\FileItem')) {
FileItem::validateMaxFilesize($element, $form_state);
}
}