- ππ·Croatia Aporie
Hi Anybody,
Yes it works. Was also looking for something like that for a while. Would be great to add it to the doc indeed.
On a custom module, this can be reduced to two lines (so don't think we need a wrapper):
$entity_type_definition = \Drupal::service('entity_type.manager')->getDefinition('custom_entity_type'); \Drupal::entityDefinitionUpdateManager()->installEntityType($entity_type_definition);
- Status changed to Fixed
3 months ago 11:24am 22 January 2025 - π³πΏNew Zealand quietone
If I read this correctly, this has been answered, Therefore closing this support request.
Automatically closed - issue fixed for 2 weeks with no activity.