You are here

function _content_widget_types in Content Construction Kit (CCK) 5

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

Return a list of widget types.

12 calls to _content_widget_types()
content_copy_export in ./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 ./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 ./content_crud.inc
Collapse field info from field => widget to flattened form values.
content_field_instance_expand in ./content_crud.inc
Expand field info to create field => widget info.

... See full list

File

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

Code

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