Tripal
|
Functions | |
tripal_ws_bundle_fields_info ($entity_type, $bundle) | |
tripal_ws_bundle_instances_info ($entity_type, $bundle) | |
tripal_ws_bundle_create_user_field ($new_field, $bundle) | |
Contains all field specific code outside the classes.
tripal_ws_bundle_create_user_field | ( | $new_field, | |
$bundle | |||
) |
Implements hook_bundle_create_user_field().
A priviledged user has the ability to add new fields to the bundle. The remote__data field is allowed to be added dynamically by the user. But, Drupal doesn't know how to deal with it, so this function is called for any field attached to a TripalEntity bundle type. Any fields whose TripalField::$module argument is set to 'tripal_ws' and that can be added dynamically will result in a call to this function.
tripal_ws_bundle_fields_info | ( | $entity_type, | |
$bundle | |||
) |
Implements hook_bundle_fields_info().
tripal_ws_bundle_instances_info | ( | $entity_type, | |
$bundle | |||
) |
Implements hook_bundle_instances_info().