You are here

public function EntityUsageEvent::setReferencingMethod in Entity Usage 8

Sets the referencing method.

Parameters

string $method: The referencing method.

File

src/Events/EntityUsageEvent.php, line 125

Class

EntityUsageEvent
Implementation of Entity Usage events.

Namespace

Drupal\entity_usage\Events

Code

public function setReferencingMethod($method) {
  $this->method = $method;
}