You are here

public function EntityUsageEvent::getSourceEntityType in Entity Usage 8.3

Same name and namespace in other branches
  1. 8.4 src/Events/EntityUsageEvent.php \Drupal\entity_usage\Events\EntityUsageEvent::getSourceEntityType()
  2. 8.2 src/Events/EntityUsageEvent.php \Drupal\entity_usage\Events\EntityUsageEvent::getSourceEntityType()

Gets the source entity type.

Return value

null|string The source entity type or NULL.

File

src/Events/EntityUsageEvent.php, line 175

Class

EntityUsageEvent
Implementation of Entity Usage events.

Namespace

Drupal\entity_usage\Events

Code

public function getSourceEntityType() {
  return $this->sourceEntityType;
}