Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $entity_type = Drupal::entityTypeManager()->getDefinition('my_custom_entity_type');
- $entity_definition_update_manager = Drupal::entityDefinitionUpdateManager();
- $entity_definition_update_manager->installEntityType($entity_type);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement