Add helper function for removing an input format
webchick - May 25, 2009 - 21:54
| Project: | Install Profile API |
| Version: | 6.x-2.x-dev |
| Component: | CRUD functions and includes |
| Category: | task |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
| Issue tags: | DruBB |
Description
There are functions to add a format and add/remove a filter, but nothing to remove a format.

#1
Here we go.
Code mostly ripped off from http://api.drupal.org/api/function/filter_admin_delete_submit/6.
#2
Tagging.
#3
Seems like a useful function to me. I've re-rolled the patch with a little error checking added. What do you think?
#4
Looks great!
No time to test it now, but I will try tomorrow.
#5
http://drupal.org/project/drubb needs this. James, can you go ahead and commit, please
#6
Committed.
#7
Automatically closed -- issue fixed for 2 weeks with no activity.