Active
Project:
Patterns
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
14 Jul 2010 at 10:23 UTC
Updated:
14 Jul 2010 at 10:23 UTC
When adding nodes one can specify the body input format . However this only supports the use for input format ids. My patch (attached) allows one to use either the input format id or its full name. The patch will validate the format data to ensure that the format is valid before the form gets built and executed.
Example:
<node>
...
<format>Full HTML</format> <!-- will get translated to the correct formate id by block.inc code -->
...
</node>
Related ticket: http://drupal.org/node/853720
| Comment | File | Size | Author |
|---|---|---|---|
| node.inc_.patch | 2.16 KB | hiddentao |