You are here

public function EntityUsageEvent::setCount in Entity Usage 8.2

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

Sets the count.

Parameters

int $count: The number od references to add or remove.

File

src/Events/EntityUsageEvent.php, line 195

Class

EntityUsageEvent
Implementation of Entity Usage events.

Namespace

Drupal\entity_usage\Events

Code

public function setCount($count) {
  $this->count = $count;
}