You are here

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

Whether a identity type can be created.

Parameters

string $entity_type: The identity entity type ID.

string $bundle: The identity bundle.

Return value

bool Whether a identity type can be created.

1 method overrides EventTypeInterface::canIdentityTypeCreate()
RngEventType::canIdentityTypeCreate in src/Entity/RngEventType.php
Whether a identity type can be created.

File

src/Entity/EventTypeInterface.php, line 222

Class

EventTypeInterface
Provides an interface defining a event config entity.

Namespace

Drupal\rng\Entity

Code

public function canIdentityTypeCreate($entity_type, $bundle);