Defines an entity type.

File

core/modules/field/tests/field_test/field_test.entity.inc

Functions

Namesort ascending Description
field_test_rename_bundle Renames a bundle for test_entity entities.
field_test_entity_test_load Loads a test_entity.
field_test_entity_save Saves a test_entity.
field_test_entity_nested_form_validate Validate handler for field_test_entity_nested_form().
field_test_entity_nested_form_submit Submit handler for field_test_entity_nested_form().
field_test_entity_nested_form Form combining two separate entities.
field_test_entity_info_translatable Helper function to enable entity translations.
field_test_entity_info_alter Implements hook_entity_info_alter().
field_test_entity_info Implements hook_entity_info().
field_test_entity_form_validate Validate handler for field_test_entity_form().
field_test_entity_form_submit_build_test_entity Updates the form state's entity by processing this submission's values.
field_test_entity_form_submit Submit handler for field_test_entity_form().
field_test_entity_form Test_entity form.
field_test_entity_edit Menu callback: displays the 'Edit existing test_entity' form.
field_test_entity_add Menu callback: displays the 'Add new test_entity' form.
field_test_delete_bundle Deletes a bundle for test_entity objects.
field_test_create_entity Creates a basic test_entity entity.
field_test_create_bundle Creates a new bundle for test_entity entities.