Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I want to change the default values of the repeat form, just 1
weeks to 4
weeks and repeat #
to repeat 4
times.
So tried hook_form_alter
but can't find those settings in my form.
Tried hook_date_combo_process_alter(&$element, &$form_state, $context)
which shows the elemement.
But when I do:
$element['rrule']['#default_value'] = 4;
nothing changes.
How to (form) alter the repeat values form?
Comments