You are here

public function EntityUsageEvent::setSourceEntityType in Entity Usage 8.4

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

Sets the source entity type.

Parameters

string $type: The source entity type.

File

src/Events/EntityUsageEvent.php, line 145

Class

EntityUsageEvent
Implementation of Entity Usage events.

Namespace

Drupal\entity_usage\Events

Code

public function setSourceEntityType($type) {
  $this->sourceEntityType = $type;
}