public function AddressInterface::isSamePhysicalLocation in Ubercart 8.4
Determines if two Address objects represent the same physical address.
Address properties such as first_name, phone, and email aren't considered in this comparison because they don't contain information about the physical location.
Parameters
\Drupal\uc_store\AddressInterface $address: An object of type AddressInterface.
Return value
bool TRUE if the two addresses are the same physical location, else FALSE.
File
- uc_store/
src/ AddressInterface.php, line 221
Class
- AddressInterface
- Defines an object to hold Ubercart mailing address information.
Namespace
Drupal\uc_storeCode
public function isSamePhysicalLocation(AddressInterface $address);