Search for fields

Classes

NameLocationDescription
CommentFieldsTestmodules/comment/comment.testTest fields on comments.
FieldsOverlapExceptionincludes/database/database.incException thrown if an insert query specifies a field twice.
FieldSqlStorageTestCasemodules/field/modules/field_sql_storage/field_sql_storage.testTests field storage.
FieldUIManageFieldsTestCasemodules/field_ui/field_ui.testField UI tests for the 'Manage fields' screen.
LocaleMultilingualFieldsFunctionalTestmodules/locale/locale.testFunctional test for multilingual fields.
NoFieldsExceptionincludes/database/database.incException thrown if an insert query doesn't specify insert or default fields.
PrivatemsgFieldsTestCase./privatemsg.testTests for fields integration.
ProfileTestFieldsmodules/profile/profile.test

Constants

NameLocationDescription
PRINT_TYPE_FIELDS_WEIGHT./print.module

Files

NameLocationDescription
devel_generate.fields.incdevel_generate/devel_generate.fields.incFunctions needed for devel_generate Fields API integration.
fields.incincludes/fields.incExtend core fields with some helper functions to reduce code complexity within views and ctools plugins.
profile_fields.incplugins/content_types/user_context/profile_fields.inc
profile_fields_pane.tpl.phpplugins/content_types/user_context/profile_fields_pane.tpl.phpDisplay profile fields.

Functions & methods

NameLocationDescription
ajax_example_autotextfieldsexamples/ajax_example/ajax_example.moduleShow/hide textfields based on AJAX-enabled checkbox clicks.
ajax_example_autotextfields_callbackexamples/ajax_example/ajax_example.moduleSelects the piece of the form we want to use as replacement text and returns it as a form (renderable array).
better_formats_get_role_default_fields./better_formats.admin_defaults.incBuilds FAPI form elements for the default format selection.
calendar_plugin_style::date_fieldsincludes/calendar_plugin_style.incCalendar argument date fields used in this view.
CommentFieldsTest::getInfomodules/comment/comment.test
CommentFieldsTest::testCommentDefaultFieldsmodules/comment/comment.testTests that the default 'comment_body' field is correctly added.
CommentFieldsTest::testCommentEnablemodules/comment/comment.testTest that comment module works when enabled after a content module.
CommentFieldsTest::testCommentFormatmodules/comment/comment.testTest that comment module works correctly with plain text format.
comment_field_extra_fieldsmodules/comment/comment.moduleImplements hook_field_extra_fields().
contemplate_get_fields./contemplate.moduleget fields for the template edit form
ctools_export_ui::list_search_fieldsplugins/export_ui/ctools_export_ui.class.phpProvide a list of fields to test against for the default "search" widget.
ctools_fields_fake_field_instanceincludes/fields.incFake an instance of a field.
ctools_fields_get_field_formatter_infoincludes/fields.incHelper function for generating all the formatter information associated with any fields. Especially useful for determining the fields that will be added to form that executes hook_field_formatter_settings_form().
ctools_fields_get_field_formatter_settings_formincludes/fields.incHelper function for calling hook_field_formatter_settings_form() without needing to load an instance of the field.
ctools_profile_fields_content_type_admin_titleplugins/content_types/user_context/profile_fields.inc'Title' callback for the 'profile fields' content type.
ctools_profile_fields_content_type_edit_formplugins/content_types/user_context/profile_fields.inc'Edit' callback for the 'profile fields' content type.
ctools_profile_fields_content_type_edit_form_submitplugins/content_types/user_context/profile_fields.inc
ctools_profile_fields_content_type_renderplugins/content_types/user_context/profile_fields.inc'Render' callback for the 'profile fields' content type.
ctools_profile_fields_content_type_themeplugins/content_types/user_context/profile_fields.inc
DatabaseAlterTestCase::testAlterChangeFieldsmodules/simpletest/tests/database_test.testTest that we can alter the fields of a query.
DatabaseInsertDefaultsTestCase::testDefaultInsertWithFieldsmodules/simpletest/tests/database_test.testTest that we can insert fields with values and defaults in the same query.
DatabaseSchema::fieldSetDefaultincludes/database/schema.incSet the default value for a field.
DatabaseSchema::fieldSetNoDefaultincludes/database/schema.incSet a field to have no default value.
DatabaseSchema_mysql::createFieldSqlincludes/database/mysql/schema.incCreate an SQL string for a field to be used in table creation or alteration.
DatabaseSchema_pgsql::createFieldSqlincludes/database/pgsql/schema.incCreate an SQL string for a field to be used in table creation or alteration.
DatabaseSchema_sqlite::createFieldSqlincludes/database/sqlite/schema.incCreate an SQL string for a field to be used in table creation or alteration.
DatabaseSelectTestCase::testSimpleSelectAllFieldsmodules/simpletest/tests/database_test.testTest adding all fields from a given table to a select statement.
DatabaseSelectTestCase::testSimpleSelectMultipleFieldsmodules/simpletest/tests/database_test.testTest adding multiple fields to a select statement at the same time.
devel_generate_fieldsdevel_generate/devel_generate.fields.incEnrich the $object that is about to be saved with arbitrary information in each of its fields.
drupal_schema_fields_sqlincludes/common.incRetrieve a list of fields from a table schema. The list is suitable for use in a SQL query.
EntityDefaultViewsController::schema_fieldsviews/entity.views.incTry to come up with some views fields with the help of the schema and the entity property information.
EntityMetadataIntegrationTestCase::testFileFields./entity.testTest making use of a file field.
EntityMetadataIntegrationTestCase::testImageFields./entity.testTest making use of an image field.
EntityMetadataIntegrationTestCase::testTextFields./entity.testTest making use of a text fields.
entity_exportable_schema_fields./entity.moduleDefines schema fields required for exportable entities.
features_test_field_default_fieldstests/features_test.features.field.incImplements hook_field_default_fields().
FieldAttachStorageTestCase::testFieldStorageDetailsAltermodules/field/tests/field.testTest storage details alteration.