Contributions API

Calling all Drupal developers!

Help us get this on the first page of Digg. DIGG NOW!

Modules in 5

content.module

Version

1.90.2.58 (checked in on 2008/09/03 at 13:45:05 by yched)

Description

Allows administrators to associate custom fields to content types.

Constants

Namesort iconDescription
CONTENT_CALLBACK_CUSTOM
CONTENT_CALLBACK_DEFAULT
CONTENT_CALLBACK_NONE
CONTENT_DB_STORAGE_PER_CONTENT_TYPE
CONTENT_DB_STORAGE_PER_FIELD

Functions

Namesort iconDescription
content_clear_type_cacheClear the cache of content_types; called in several places when content information is changed.
content_database_infoRetrieve the database storage location(s) for a field.
content_default_valueHelper function to return the correct default value for a field.
content_deleteDelete node type fields.
content_delete_revisiondelete node type fields for a revision.
content_devel_cachesImplementation of hook_devel_caches(). Include {cache_content} in the list of tables cleared by devel's 'empty cache'
content_enableMake sure that CCK content type info is synched with node type data any time the content module is enabled.
content_fieldImplementation of hook_field(). Handles common field housekeeping.
content_fieldsReturn a list of all fields.
content_filter_xssLike filter_xss_admin(), but with a shorter list of allowed tags.
content_formCreate fields' form for a content type.
content_formatFormat a field item for display.
content_form_alterImplementation of hook_form_alter().
content_handleHelper function for determining the behaviour of a field or a widget with respect to a given operation (currently only used for 'view' field op and 'default value' widegt op)
content_help
content_initImplementation of hook_init().
content_insertInsert node type fields.
content_loadLoad data for a node type's fields.
content_menuImplementation of hook_menu().
content_nodeapiImplementation of hook_nodeapi().
content_node_typeImplementation of hook_node_type() React to change in node types
content_permImplementation of hook_perm().
content_submitSubmit form callback for node type fields.
content_transpose_array_rows_colsManipulate a 2D array to reverse rows and columns.
content_typesReturn a list of all content types.
content_updateUpdate node type fields.
content_validateValidate form callback to handle node type fields.
content_viewGenerate field render arrays.
theme_fieldFormat an individual field for display.
_content_field_invokeInvoke a field hook.
_content_field_invoke_defaultInvoke content.module's version of a field hook.
_content_field_typesReturn a list of field types.
_content_field_viewFormat field output based on display settings.
_content_filter_xss_allowed_tagsList of tags allowed by content_filter_xss().
_content_filter_xss_display_allowed_tagsHuman-readable list of allowed tags, for display in help texts.
_content_tablenameGenerate a table name for a field or a content type.
_content_type_infoCollate all information on content types, fields, and related structures.
_content_widget_invokeInvoke a widget hook.
_content_widget_typesReturn a list of widget types.