d.o defines it as such:

$delta The order of this item in the array of subelements (0, 1, 2, etc).

So that you can use it as an index into the $items array, but i can't seem to wrap my head around when the $items array would have more than one element.


See the answer to my question re; delta field in views. I got an answer for $delta as well.

  • I read yours but i didn't quite understand at the time... do you know how to specify a multi-valued field? None of the hooks in the Field API seem to explain a way. – nymo Oct 27 '11 at 16:47
  • Sorry, I am just beginning to venture into php coding. I am at the idiot level. – Ashlar Oct 27 '11 at 16:55
  • Lol, well atm it seems that i can successfully disregard it and still able to create my custom field. If i run into an issue, i'll comment back. – nymo Oct 27 '11 at 17:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.