You are here

public function EventTypeInterface::setIdentityTypeReference in RNG - Events and Registrations 8.2

Same name and namespace in other branches
  1. 3.x src/Entity/EventTypeInterface.php \Drupal\rng\Entity\EventTypeInterface::setIdentityTypeReference()

Set whether existing identity type can be referenced.

Parameters

string $entity_type: The identity entity type ID.

string $bundle: The identity bundle.

bool $enabled: Whether existing identity type can be referenced.

Return value

$this Return this event type for chaining.

1 method overrides EventTypeInterface::setIdentityTypeReference()
RngEventType::setIdentityTypeReference in src/Entity/RngEventType.php
Set whether existing identity type can be referenced.

File

src/Entity/EventTypeInterface.php, line 301

Class

EventTypeInterface
Provides an interface defining a event config entity.

Namespace

Drupal\rng\Entity

Code

public function setIdentityTypeReference($entity_type, $bundle, $enabled);