You are here

function _content_widget_types in Content Construction Kit (CCK) 6

Same name and namespace in other branches
  1. 5 content.module \_content_widget_types()
  2. 6.3 content.module \_content_widget_types()
  3. 6.2 content.module \_content_widget_types()

Return a list of widget types.

11 calls to _content_widget_types()
content_copy_export in modules/content_copy/content_copy.module
Process the export, get field admin forms for all requested fields and save the form values as formatted text.
content_copy_fields in modules/content_copy/content_copy.module
Get all the fields for a content type.
content_default_value in ./content.module
Helper function to return the correct default value for a field.
content_field_instance_collapse in includes/content.crud.inc
Collapse field info from field => widget to flattened form values.
content_field_instance_expand in includes/content.crud.inc
Expand field info to create field => widget info.

... See full list

File

./content.module, line 1210
Allows administrators to associate custom fields to content types.

Code

function _content_widget_types() {
  $info = _content_type_info();
  return isset($info['widget types']) ? $info['widget types'] : array();
}