You are here

public function SmsEntityPhoneNumber::getEntity in SMS Framework 8

Same name and namespace in other branches
  1. 2.x src/Event/SmsEntityPhoneNumber.php \Drupal\sms\Event\SmsEntityPhoneNumber::getEntity()
  2. 2.1.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 58

Class

SmsEntityPhoneNumber
Event fired when resolving phone numbers for an entity.

Namespace

Drupal\sms\Event

Code

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