You are here

public function EntityUsageEvent::setFieldName in Entity Usage 8.2

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

Sets the field name.

Parameters

string $field_name: The field name.

File

src/Events/EntityUsageEvent.php, line 185

Class

EntityUsageEvent
Implementation of Entity Usage events.

Namespace

Drupal\entity_usage\Events

Code

public function setFieldName($field_name) {
  $this->fieldName = $field_name;
}