With THEME_form_system_site_information_settings_alter i can change the max field length of the site_slogan form, like:
function THEME_form_system_site_information_settings_alter(&$form, \Drupal\Core\Form\FormStateInterface $form_state, $form_id) {
$form['site_information']['site_slogan']['#maxlength'] = 500;
}
Apparently the form for the slogan in the site information translation is different,
thus forexample in /admin/config/system/site-information/translate/en/edit
There is other form for the slogan.
Did a lot of grep in the core code, but could n't find it, anyone knows how to change it or where this form is?
Thanks
Nico
Comments
Try this:
Try this:
thank you
It is working!,
coming from d6/7 and now d8/9 it's a steep hill. But slowly i'm coming to the end.
Thanks,
NIco
I ran into a similar issue at
I ran into a similar issue at https://www.drupal.org/project/cookies/issues/3327045 today and wrote a blog post with a snippet:
https://julian.pustkuchen.com/en/remove-config-translation-textfield-max...
Here's our hook_preprocess_HOOK to solve it:
http://www.DROWL.de || Professionelle Drupal Lösungen aus Ostwestfalen-Lippe (OWL)
http://www.webks.de || webks: websolutions kept simple - Webbasierte Lösungen die einfach überzeugen!
http://www.drupal-theming.com || Individuelle Responsive Themes