Problem/Motivation
When the datetime module is not enabled, the module will generate an WSOD because fo the following error.
Error: Class "Drupal\datetime\Plugin\Field\FieldType\DateTimeItemInterface" not found in ...\WorkflowDateTimeZoneWidget->massageFormValues() (line 140 of ...\WorkflowDateTimeZoneWidget.php).
This was hidden because datetime is a fundamental module. But is it not by default enabled in a new 'minimal' installation.
Steps to reproduce
Proposed resolution
Add dependency in module's info.yml file.
Comments
Comment #3
johnv