You are here

public function SalesforceDeleteAllowedEvent::getEntity in Salesforce Suite 8.4

Same name and namespace in other branches
  1. 5.0.x modules/salesforce_mapping/src/Event/SalesforceDeleteAllowedEvent.php \Drupal\salesforce_mapping\Event\SalesforceDeleteAllowedEvent::getEntity()

Getter.

Return value

\Drupal\Core\Entity\FieldableEntityInterface The entity.

File

modules/salesforce_mapping/src/Event/SalesforceDeleteAllowedEvent.php, line 52

Class

SalesforceDeleteAllowedEvent
Delete allowed event.

Namespace

Drupal\salesforce_mapping\Event

Code

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