You are here

public function ReservationConflicts::setEntity in MERCI (Manage Equipment Reservations, Checkout and Inventory) 8.2

Overrides ReservationConflictsInterface::setEntity

File

src/ReservationConflicts.php, line 35
Contains \Drupal\merci\ReservationConflicts. Abstraction of the selection logic of an entity reference field.

Class

ReservationConflicts
A null implementation of EntityReference_SelectionHandler.

Namespace

Drupal\merci

Code

public function setEntity(\Drupal\Core\Entity\FieldableEntityInterface $entity) {
  $this->entity = $entity;
}