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.

CommentFileSizeAuthor
#3 2714569-service-required.patch6.41 KBJon Pugh
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Jon Pugh created an issue. See original summary.

  • Jon Pugh committed a1eb98e on 2714569-service-required
    Issue #2714569: Allow Service Types to be "required"
    
Jon Pugh’s picture

helmo’s picture

Do you have an example of a service that would be required on all?