Skip navigation
Help

Search for fields

Classes

NameLocationDescription
CommentFieldsTestdrupal/modules/comment/comment.testTest fields on comments.
FieldsOverlapExceptiondrupal/includes/database/database.incException thrown if an insert query specifies a field twice.
FieldSqlStorageTestCasedrupal/modules/field/modules/field_sql_storage/field_sql_storage.testTests field storage.
FieldUIManageFieldsTestCasedrupal/modules/field_ui/field_ui.testField UI tests for the 'Manage fields' screen.
LocaleMultilingualFieldsFunctionalTestdrupal/modules/locale/locale.testFunctional test for multilingual fields.
NoFieldsExceptiondrupal/includes/database/database.incException thrown if an insert query doesn't specify insert or default fields.
ProfileTestFieldsdrupal/modules/profile/profile.test

Functions & methods

NameLocationDescription
CommentFieldsTest::getInfodrupal/modules/comment/comment.test
CommentFieldsTest::testCommentDefaultFieldsdrupal/modules/comment/comment.testTests that the default 'comment_body' field is correctly added.
CommentFieldsTest::testCommentEnabledrupal/modules/comment/comment.testTest that comment module works when enabled after a content module.
CommentFieldsTest::testCommentFormatdrupal/modules/comment/comment.testTest that comment module works correctly with plain text format.
comment_field_extra_fieldsdrupal/modules/comment/comment.moduleImplements hook_field_extra_fields().
DatabaseAlterTestCase::testAlterChangeFieldsdrupal/modules/simpletest/tests/database_test.testTest that we can alter the fields of a query.
DatabaseInsertDefaultsTestCase::testDefaultInsertWithFieldsdrupal/modules/simpletest/tests/database_test.testTest that we can insert fields with values and defaults in the same query.
DatabaseSchema::fieldSetDefaultdrupal/includes/database/schema.incSet the default value for a field.
DatabaseSchema::fieldSetNoDefaultdrupal/includes/database/schema.incSet a field to have no default value.
DatabaseSchema_mysql::createFieldSqldrupal/includes/database/mysql/schema.incCreate an SQL string for a field to be used in table creation or alteration.
DatabaseSchema_mysql::fieldSetDefaultdrupal/includes/database/mysql/schema.incSet the default value for a field.
DatabaseSchema_mysql::fieldSetNoDefaultdrupal/includes/database/mysql/schema.incSet a field to have no default value.
DatabaseSchema_pgsql::createFieldSqldrupal/includes/database/pgsql/schema.incCreate an SQL string for a field to be used in table creation or alteration.
DatabaseSchema_pgsql::fieldSetDefaultdrupal/includes/database/pgsql/schema.incSet the default value for a field.
DatabaseSchema_pgsql::fieldSetNoDefaultdrupal/includes/database/pgsql/schema.incSet a field to have no default value.
DatabaseSchema_sqlite::createFieldSqldrupal/includes/database/sqlite/schema.incCreate an SQL string for a field to be used in table creation or alteration.
DatabaseSchema_sqlite::fieldSetDefaultdrupal/includes/database/sqlite/schema.incSet the default value for a field.
DatabaseSchema_sqlite::fieldSetNoDefaultdrupal/includes/database/sqlite/schema.incSet a field to have no default value.
DatabaseSelectTestCase::testSimpleSelectAllFieldsdrupal/modules/simpletest/tests/database_test.testTest adding all fields from a given table to a select statement.
DatabaseSelectTestCase::testSimpleSelectMultipleFieldsdrupal/modules/simpletest/tests/database_test.testTest adding multiple fields to a select statement at the same time.
drupal_schema_fields_sqldrupal/includes/common.incRetrieve a list of fields from a table schema. The list is suitable for use in a SQL query.
FieldAttachStorageTestCase::testFieldStorageDetailsAlterdrupal/modules/field/tests/field.testTest storage details alteration.
FieldSqlStorageTestCase::getInfodrupal/modules/field/modules/field_sql_storage/field_sql_storage.test
FieldSqlStorageTestCase::setUpdrupal/modules/field/modules/field_sql_storage/field_sql_storage.testGenerates a random database prefix, runs the install scripts on the prefixed database and enable the specified modules. After installation many caches are flushed and the internal browser is setup so that the page requests will run on the new prefix.…
FieldSqlStorageTestCase::testFieldAttachInsertAndUpdatedrupal/modules/field/modules/field_sql_storage/field_sql_storage.testReads mysql to verify correct data is written when using insert and update.
FieldSqlStorageTestCase::testFieldAttachLoaddrupal/modules/field/modules/field_sql_storage/field_sql_storage.testUses the mysql tables and records to verify field_load_revision works correctly.
FieldSqlStorageTestCase::testFieldAttachSaveMissingDatadrupal/modules/field/modules/field_sql_storage/field_sql_storage.testTests insert and update with missing or NULL fields.
FieldSqlStorageTestCase::testFieldSqlStorageForeignKeysdrupal/modules/field/modules/field_sql_storage/field_sql_storage.testTest foreign key support.
FieldSqlStorageTestCase::testFieldStorageDetailsdrupal/modules/field/modules/field_sql_storage/field_sql_storage.testTest the storage details.
FieldSqlStorageTestCase::testFieldUpdateIndexesWithDatadrupal/modules/field/modules/field_sql_storage/field_sql_storage.testTest adding and removing indexes while data is present.
FieldSqlStorageTestCase::testUpdateFieldSchemaWithDatadrupal/modules/field/modules/field_sql_storage/field_sql_storage.testTest trying to update a field with data.
FieldTranslationsTestCase::testTranslatableFieldSaveLoaddrupal/modules/field/tests/field.testTest translatable fields storage/retrieval.
FieldUIManageFieldsTestCase::addExistingFielddrupal/modules/field_ui/field_ui.testTest adding an existing field in another content type.
FieldUIManageFieldsTestCase::assertFieldSettingsdrupal/modules/field_ui/field_ui.testAssert the field settings.
FieldUIManageFieldsTestCase::createFielddrupal/modules/field_ui/field_ui.testTest adding a new field.
FieldUIManageFieldsTestCase::getInfodrupal/modules/field_ui/field_ui.test
FieldUIManageFieldsTestCase::manageFieldsPagedrupal/modules/field_ui/field_ui.testTest the manage fields page.
FieldUIManageFieldsTestCase::setUpdrupal/modules/field_ui/field_ui.testGenerates a random database prefix, runs the install scripts on the prefixed database and enable the specified modules. After installation many caches are flushed and the internal browser is setup so that the page requests will run on the new prefix.…
FieldUIManageFieldsTestCase::testCRUDFieldsdrupal/modules/field_ui/field_ui.testMain entry point for the field CRUD tests.
FieldUIManageFieldsTestCase::testDefaultValuedrupal/modules/field_ui/field_ui.testTests that default value is correctly validated and saved.
FieldUIManageFieldsTestCase::testDeleteFielddrupal/modules/field_ui/field_ui.testTests that deletion removes fields and instances as expected.
FieldUIManageFieldsTestCase::testHiddenFieldsdrupal/modules/field_ui/field_ui.testTest that Field UI respects the 'no_ui' option in hook_field_info().
FieldUIManageFieldsTestCase::updateFielddrupal/modules/field_ui/field_ui.testTest editing an existing field.