You are here

public function CustomerProfileEvent::getCustomerProfile in Commerce Core 8.2

Gets the customer profile.

Return value

\Drupal\profile\Entity\ProfileInterface|null The customer profile, or NULL if not yet known.

File

modules/tax/src/Event/CustomerProfileEvent.php, line 49

Class

CustomerProfileEvent
Defines the customer profile event.

Namespace

Drupal\commerce_tax\Event

Code

public function getCustomerProfile() {
  return $this->customerProfile;
}