attached patch makes content type deletions work w/ the deletion API. a few things:
- this patch is waiting on http://drupal.org/node/154046 -- so you'll need to apply that to test this properly.
- the deletion type name i picked was 'node_type', and the id is the type.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | dapi_content_types_1.patch | 3.48 KB | hunmonk |
| #2 | dapi_content_types_0.patch | 3.53 KB | hunmonk |
| dapi_content_types.patch | 3.55 KB | hunmonk |
Comments
Comment #1
pwolanin commentedA couple minor problems -
there are several extra blank lines in function node_type_delete_confirm.
Also in this function the line
'form' => $form,seems unneeded and generates the notice:otherwise, seems to work fine - content type is deleted as expected.
Comment #2
hunmonk commentedattached patch fixes the previously mentioned issues.
Comment #3
webchickTested, seems to work fine. Code looks good. RTBC.
Comment #4
hunmonk commentedre-rolled for confirm form changes. tested and working.
Comment #5
hunmonk commentedComment #6
webchickDeletion API was rolled back.