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