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.

#1 1961420-ds-classes_alter-1.patch1.31 KBMark Carver


Status:Active» Needs review
new1.31 KB


Priority:Normal» Major

I really would like to stop having to patch this. It's a really simple fix.

Version:7.x-2.x-dev» 8.x-2.x-dev
Priority:Major» Normal
Status:Needs review» Patch (to be ported)

Committed and pushed, thanks! Moving to 8.x-2.x

Assigned:Unassigned» aspilicious
Issue tags:+sprint-ghent

Assigned:aspilicious» Unassigned
Status:Patch (to be ported)» Fixed

Part of the plugin branch now :)

Automatically closed -- issue fixed for 2 weeks with no activity.