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.
There is a dependency on datetime_range module, but it is not listed. After installing it throws an error as a result.
In DiscoveryTrait.php line 53:
The "daterange" plugin does not exist. Valid plugin IDs for Drupal\Core\Field\FieldTypePluginManager are: block_field, datetime, entity_reference_revisions, field_collection, file, file_uri, ...
To solve this we need to add drupal:datetime_range to the dependencies.
Comment | File | Size | Author |
---|---|---|---|
#2 | 3121963-missing-datetime_range-dependency.patch | 299 bytes | tijsdeboeck |
Comments
Comment #2
tijsdeboeckPatch attached
Comment #3
tijsdeboeckComment #4
Anonymous (not verified) CreditAttribution: Anonymous at Agiledrop - Your Trusted Drupal Teammates commentedThanks for the patch,
was reviewing one other patch and had issues installing the module. Your patch worked like a charm and fixed the error.
Thanks for your contribution.
Kind regards, Denis
Comment #5
ChrisSnyderNice catch! Thank you tijsdeboeck & DenisCi
Comment #7
ChrisSnyder