public function EntityUsageEvent::setTargetEntityType in Entity Usage 8
Same name and namespace in other branches
- 8.4 src/Events/EntityUsageEvent.php \Drupal\entity_usage\Events\EntityUsageEvent::setTargetEntityType()
- 8.2 src/Events/EntityUsageEvent.php \Drupal\entity_usage\Events\EntityUsageEvent::setTargetEntityType()
- 8.3 src/Events/EntityUsageEvent.php \Drupal\entity_usage\Events\EntityUsageEvent::setTargetEntityType()
Sets the target entity type.
Parameters
string $type: The target entity type.
File
- src/
Events/ EntityUsageEvent.php, line 95
Class
- EntityUsageEvent
- Implementation of Entity Usage events.
Namespace
Drupal\entity_usage\EventsCode
public function setTargetEntityType($type) {
$this->targetEntityType = $type;
}