function content_enable in Content Construction Kit (CCK) 5
Same name and namespace in other branches
- 6.3 content.install \content_enable()
- 6 content.install \content_enable()
- 6.2 content.install \content_enable()
Make sure that CCK content type info is synched with node type data any time the content module is enabled.
File
- ./
content.module, line 369 - Allows administrators to associate custom fields to content types.
Code
function content_enable() {
include_once './' . drupal_get_path('module', 'content') . '/content_admin.inc';
include_once './' . drupal_get_path('module', 'content') . '/content_crud.inc';
content_types_rebuild();
}