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.
Can you tell me how I can access the address field (firstname, lastname, country, ...) in my custom module? I will need to access these for the currently logged in user. Thanks
Comments
Comment #1
Damien Tournoud CreditAttribution: Damien Tournoud commentedThis module provides a field. It can be used wherever you use a field, and accessed in the same way. Read http://api.drupal.org/api/drupal/modules--field--field.module/group/field/7 for more information about the Field API.
Comment #2
faridjame CreditAttribution: faridjame commentedThanks for the response. I had actually looked at the field API before I posted the question. I was looking for probably a more detailed/specific response. :-)