You are here

public function EventTypeInterface::setIdentityTypeCreate in RNG - Events and Registrations 3.x

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

Set whether an identity type can be created.

Parameters

string $entity_type: The identity entity type ID.

string $bundle: The identity bundle.

bool $enabled: Whether the identity type can be created.

Return value

$this Return this event type for chaining.

1 method overrides EventTypeInterface::setIdentityTypeCreate()
RngEventType::setIdentityTypeCreate in src/Entity/RngEventType.php
Set whether an identity type can be created.

File

src/Entity/EventTypeInterface.php, line 237

Class

EventTypeInterface
Provides an interface defining a event config entity.

Namespace

Drupal\rng\Entity

Code

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