function oembed_providers_update_8202 in oEmbed Providers 2.x
Install oEmbed provider bucket entity type.
File
- ./
oembed_providers.install, line 42 - This module provides install, uninstall, and update functions.
Code
function oembed_providers_update_8202() {
\Drupal::entityTypeManager()
->clearCachedDefinitions();
$entity_type = \Drupal::entityTypeManager()
->getDefinition('oembed_provider_bucket');
\Drupal::entityDefinitionUpdateManager()
->installEntityType($entity_type);
}