public function EventTypeInterface::setIdentityTypeReference in RNG - Events and Registrations 3.x
Same name and namespace in other branches
- 8.2 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\EntityCode
public function setIdentityTypeReference($entity_type, $bundle, $enabled);