You are here

public function EventTypeInterface::setIdentityTypeEntityFormMode 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::setIdentityTypeEntityFormMode()

Set the form display mode used when the identity is created inline.

Parameters

string $entity_type: The identity entity type ID.

string $bundle: The identity bundle.

string $form_mode: The form mode ID.

Return value

$this Return this event type for chaining.

1 method overrides EventTypeInterface::setIdentityTypeEntityFormMode()
RngEventType::setIdentityTypeEntityFormMode in src/Entity/RngEventType.php
Set the form display mode used when the identity is created inline.

File

src/Entity/EventTypeInterface.php, line 273

Class

EventTypeInterface
Provides an interface defining a event config entity.

Namespace

Drupal\rng\Entity

Code

public function setIdentityTypeEntityFormMode($entity_type, $bundle, $form_mode);