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.
Comment | File | Size | Author |
---|---|---|---|
#7 | 3163202-7.patch | 2.57 KB | Xiaohua Guan |
Comment | File | Size | Author |
---|---|---|---|
#7 | 3163202-7.patch | 2.57 KB | Xiaohua Guan |
Comments
Comment #2
Xiaohua Guan CreditAttribution: Xiaohua Guan commentedComment #3
Xiaohua Guan CreditAttribution: Xiaohua Guan commentedComment #4
Xiaohua Guan CreditAttribution: Xiaohua Guan commented@yas
Please review the patch file. Thanks.
Comment #5
yas@xiaohua-guan
Thank you for fixing the issue.
Since this method can be used more commonly, Should we move this method to
CloudConfigPluginManager::isValidCloudContext($cloud_context, $bundle)
orCloudConfig::isValidCloudContext($cloud_context, $bundle)
?Comment #6
Xiaohua Guan CreditAttribution: Xiaohua Guan commented@yas
Thanks for your comment.
I found the function in CloudConfig. How about to make some change and reuse it?
Comment #7
Xiaohua Guan CreditAttribution: Xiaohua Guan commentedComment #8
Xiaohua Guan CreditAttribution: Xiaohua Guan commented@yas
Please review the patch file. Thanks.
Comment #9
yas@xiaohua-guan
Thank you for the update.
It looks good but let me confirm if it is okay with always
TRUE
at the following caller code?https://git.drupalcode.org/project/cloud/-/blob/3.x/src/Form/CloudConfig...
Comment #10
Xiaohua Guan CreditAttribution: Xiaohua Guan commented@yas
I've confirmed the code. It should be OK because the "exists" function is used as below.
https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21Render%21...
Comment #11
yas@xiaohua-guan
Thank you for updating the patch and the information. I'll merge the patch to
8.x-2.x
and3.x
and close this issue asFixed
.Comment #14
yasComment #15
yasI'll merge to
8.x-1.x
, too for the patch at #3163932Comment #17
yasClosing this issue marked as
Fixed
.