public function EventTypeInterface::setIdentityTypeCreate in RNG - Events and Registrations 8
Set whether an identity type can be created.
Parameters
string $entity_type: The identity entity type ID.
string $bundle: The identity bundle.
boolean $enabled: Whether the identity type can be created.
Return value
$this Return this event type for chaining.
1 method overrides EventTypeInterface::setIdentityTypeCreate()
- EventType::setIdentityTypeCreate in src/
Entity/ EventType.php - Set whether an identity type can be created.
File
- src/
EventTypeInterface.php, line 113
Class
- EventTypeInterface
- Provides an interface defining a event config entity.
Namespace
Drupal\rngCode
public function setIdentityTypeCreate($entity_type, $bundle, $enabled);