You are here

function bootstrap_simple_carousel_update_8630 in bootstrap simple carousel 8

Install the container configuration entity type.

File

./bootstrap_simple_carousel.install, line 131
Defines install of bootstrap simple carousel.

Code

function bootstrap_simple_carousel_update_8630() {
  $type_manager = \Drupal::entityTypeManager();
  $type_manager
    ->clearCachedDefinitions();
  $entity_type = $type_manager
    ->getDefinition('bootstrap_simple_carousel');
  \Drupal::entityDefinitionUpdateManager()
    ->installEntityType($entity_type);
  return t('Installed the {bootstrap_simple_carousel} entity type');
}