You are here

public function EntityUsageEvent::getCount in Entity Usage 8

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

Gets the count.

Return value

int|null The number of references to add or remove or NULL.

File

src/Events/EntityUsageEvent.php, line 195

Class

EntityUsageEvent
Implementation of Entity Usage events.

Namespace

Drupal\entity_usage\Events

Code

public function getCount() {
  return $this->count;
}