function content_alter_schema in Content Construction Kit (CCK) 6
Same name and namespace in other branches
- 6.3 includes/content.admin.inc \content_alter_schema()
- 6.2 includes/content.admin.inc \content_alter_schema()
Content Schema Alter
Alter the database schema.
TODO figure out an API-safe way to use batching to update the nodes that will be affected by this change so the node_save() hooks will fire.
3 calls to content_alter_schema()
- content_field_instance_create in includes/
content.crud.inc - Create a new field instance.
- content_field_instance_delete in includes/
content.crud.inc - Delete an existing field instance.
- content_field_instance_update in includes/
content.crud.inc - Update an existing field instance.
File
- includes/
content.admin.inc, line 955 - Administrative interface for content type creation.
Code
function content_alter_schema($previous_field, $new_field) {
content_alter_db($previous_field, $new_field);
}