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 commentedCommitted and pushed, thanks! Moving to 8.x-2.x
Comment #5
aspilicious commentedComment #6
aspilicious commentedPart of the plugin branch now :)