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 would love to provide some "supported" classes in a feature I'm building and not allow users to delete them from the classes UI page. The only way I know how to do this is to use a drupal_alter
on that array before it returns the classes array to the managed display form. Will attach a patch shortly.
Comment | File | Size | Author |
---|---|---|---|
#1 | 1961420-ds-classes_alter-1.patch | 1.31 KB | markhalliwell |
Comments
Comment #1
markhalliwellComment #2
markhalliwellPing
Comment #3
markhalliwellI really would like to stop having to patch this. It's a really simple fix.
Comment #4
swentel CreditAttribution: swentel commentedCommitted and pushed, thanks! Moving to 8.x-2.x
Comment #5
aspilicious CreditAttribution: aspilicious commentedComment #6
aspilicious CreditAttribution: aspilicious commentedPart of the plugin branch now :)