0

I have an address field in a form I'm building with the Form API. I need to pull the address components from the Store's instance so I can set them in my form.

I can pull other fields from from the store, like name and email:

$name = $store->getName();
$email = $store->getEmail();

How can I get Street, Zip, and the rest of the address components?

Your Answer

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

Browse other questions tagged or ask your own question.