You are here

public function SalesforceDeleteAllowedEvent::getEntity in Salesforce Suite 5.0.x

Same name and namespace in other branches
  1. 8.4 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;
}