You are here

public function EntityUsageEvent::getMethod in Entity Usage 8.2

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

Gets the method used to relate source entity with the target entity.

Return value

null|string The method or NULL.

File

src/Events/EntityUsageEvent.php, line 265

Class

EntityUsageEvent
Implementation of Entity Usage events.

Namespace

Drupal\entity_usage\Events

Code

public function getMethod() {
  return $this->method;
}