You are here

public function SmsEntityPhoneNumber::getEntity in SMS Framework 2.1.x

Same name and namespace in other branches
  1. 8 src/Event/SmsEntityPhoneNumber.php \Drupal\sms\Event\SmsEntityPhoneNumber::getEntity()
  2. 2.x src/Event/SmsEntityPhoneNumber.php \Drupal\sms\Event\SmsEntityPhoneNumber::getEntity()

Get entity to find phone numbers.

Return value

\Drupal\Core\Entity\EntityInterface The entity to find phone numbers.

File

src/Event/SmsEntityPhoneNumber.php, line 60

Class

SmsEntityPhoneNumber
Event fired when resolving phone numbers for an entity.

Namespace

Drupal\sms\Event

Code

public function getEntity() {
  return $this->entity;
}