- Issue created by @watergate
- Merge request !10Moved logic for default mail frequency value to default value callback. → (Open) created by watergate
Currently, a hook_form_alter
is used to set a default value for the "Logs report frequency" field. This means the configured default value is only applied when a user account is created using a form. When created in code or via Drush, the value entity_activity_mail_frequency
is null
.
Assuming a standard Drupal installation, having both the Entity Activity and Entity Activity Mail modules installed (of course); and having Drush available:
/admin/config/content/entity-activity/mail-settings
.drush user:create newuser --mail='person@example.com' --password='letmein'
.Move the logic implemented in entity_activity_mail_form_user_form_alter()
to a default value callback function.
N.a.
N.a.
N.a.
Active
1.0
Code