Contrary to 4.7 version where there was a distinct line between cck-handled content-types and others, 5.0 cck can potentially act upon any content type.
It plugs on hook_nopeapi and hook_form_alter to manage fields and generate forms.
Those hooks are executed for all content types, and
This could probably be optimized for most of the ops (if not all ?) by checking first in content_nodeapi and content_form_alter that the content type has fields, and doing plain nothing if it has none.
This should probably be done after the forthcoming release, though.
Comments
Comment #1
karens commentedYes, we should think about this to reduce overhead. And yes definitely not until after next release.
Comment #2
dopry commentedSee attached patch.
Comment #3
yched commented+ // why is this here? why does _content_field_invoke_default('delete', $node) not handle the following? -dopry.
True. Fixed in http://drupal.org/node/292665.
Comment #4
karens commentedMoving back to D6 so it doesn't get missed.
Comment #5
karens commentedI brought this up to date and committed it.
Comment #6
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.