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.
I have a custom service type that I need to be required.
Adding a simple 'required' item to hook_hosting_service_type() did the trick!
This patch extends the one in #2714561: Add "name" property to HostingService classes to allow for human readable service selection, since the both need to extract $options to a variable.
Comment | File | Size | Author |
---|---|---|---|
#3 | 2714569-service-required.patch | 6.41 KB | Jon Pugh |
Comments
Comment #3
Jon PughComment #4
helmo CreditAttribution: helmo at Initfour websolutions for Aegir Cooperative commentedDo you have an example of a service that would be required on all?