You are here

public function EntityFieldValueAccessDeniedEvent::setUid in Permissions by Term 8

Same name and namespace in other branches
  1. 8.2 modules/permissions_by_entity/src/Event/EntityFieldValueAccessDeniedEvent.php \Drupal\permissions_by_entity\Event\EntityFieldValueAccessDeniedEvent::setUid()

Sets the uid.

Parameters

int $uid: The user id.

File

modules/permissions_by_entity/src/Event/EntityFieldValueAccessDeniedEvent.php, line 90

Class

EntityFieldValueAccessDeniedEvent
Class EntityFieldValueAccessDeniedEvent.

Namespace

Drupal\permissions_by_entity\Event

Code

public function setUid($uid) {
  $this->uid = $uid;
}