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.
For enhancers like the Date Time these require the DateTime module to be installed. The proposed solution for this is that we allow for enhancer to include a list of dependencies before it can be usable.
Comment | File | Size | Author |
---|---|---|---|
#4 | 3047728--interdiff--2-4.txt | 0 bytes | e0ipso |
#4 | 3047728--enhancer-dependencies.patch | 3.13 KB | e0ipso |
#3 | datetime-enabled.png | 120.58 KB | cindytwilliams |
#3 | datetime-disabled.png | 104.61 KB | cindytwilliams |
#2 | 3047728-jsonapi_extras-allow_dependencies_for_plugins-2.patch | 3.15 KB | sean_e_dietrich |
|
Comments
Comment #2
sean_e_dietrichIncluded patch that allows for a dependency to be included in order to show in the list of field enhancers.
A way to test this is:
* Enable the jsonapi_extras module
* Confirm that the datetime module is not installed
* Go to admin/config/services/jsonapi/add/resource_types/
* Click overwrite on a node content type
* Select Advanced next to a date field
* Confirm that Date Time field enhancers are not in the list
* Enable the datetime module
* Go to admin/config/services/jsonapi/add/resource_types/
* Click overwrite on a node content type
* Select Advanced next to a date field
* Confirm that Date Time field enhancers are now in the list.
Comment #3
cindytwilliams CreditAttribution: cindytwilliams at Kanopi Studios commentedI tested this patch, and it works as described.
Comment #4
e0ipsoComment #6
bbralaSeems this has been fixed and committed a while ago :)