Commit 188644bc authored by APolitsin's avatar APolitsin
Browse files

Update FormFieldConfigEditFormAlter.php

parent cc6a804f
......@@ -20,7 +20,10 @@ class FormFieldConfigEditFormAlter extends ControllerBase {
// File.
if (isset($form['settings']['max_filesize']['#default_value'])) {
drupal_set_message('Это Файл! syndev.module\form_alter');
if (!$form['settings']['max_filesize']['#default_value']) {
$form['settings']['max_filesize']['#default_value'] = '25 MB';
}
if (isset($form['settings']['file_directory'])) {
$node_type = $path_args[5];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment