Is it possible to define and register (via a hook) a custom input_format?
Whereby I could define a revised node_import_check for input_format date.
I did not find this within the Documentation.
Thanks
Jeff in Seattle
Is it possible to define and register (via a hook) a custom input_format?
Whereby I could define a revised node_import_check for input_format date.
I did not find this within the Documentation.
Thanks
Jeff in Seattle
Comments
Comment #1
Robrecht Jacques commentedYou can define your own input_formats, no hook is needed for that (I may add it one day, but seems not really needed). The only reason it is there is so hook_node_import_fields_alter() (and the builtin node_import_check_xxx ones in node_import_fields()) can attach preprocessors to it.
You can attach an own node_import_check_xxx in hook_node_import_fields_alter(). You have the possibility to change the whole field definition there.
Does this help?
Comment #2
jeff00seattle commentedThanks, I will give it a try.
I thought that maybe I need to customize function node_import_fields() within node_import.inc to make this happen.
I am thinking about modifying 'input_format' 'date' so that it will SKIP the Options page.
Comment #3
Robrecht Jacques commented