Separate data from presentation
Shongrunden - September 5, 2007 - 15:48
| Project: | Flag content |
| Version: | 5.x-2.5 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs review |
Description
I am writing an addition to the Services module that exposes a simple API for the flag content module. In order to do this I needed to modify this module to separate the data from presentation.
I added a new helper function to accomplish this:
- flag_content_add_flag()
Attached is a patch file with this update.
| Attachment | Size |
|---|---|
| flag_content_module.patch | 839 bytes |
