Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This is my custom code:
function computed_field_field_create_invoice_link_display($entity_field, $entity_type, $field) {
$display_output = 'test';
}
I get this message:
Notice: Undefined variable: entity_field_item in computed_field_field_create_invoice_link_display() (line 19 of /var/www/Anyjob-Portal/sites/all/modules/anyjob_settings/includes/create_invoice_link.inc).
I'm unclear what variables to pass to the function?
Comments
Comment #1
bjalford CreditAttribution: bjalford commentedpasted wrong version...
function computed_field_field_create_invoice_link_display(&$entity_field, $entity_type, $field) {
$display_output = 'test';
}
Comment #2
colanSee the comment over at http://drupal.org/node/149225#comment-5315464. Field-level help added in 14a8c5f.