You are here

function lockr_update_8400 in Lockr 4.x

Install Lockr secret entity.

File

./lockr.install, line 52

Code

function lockr_update_8400() {
  $entityType = \Drupal::service('entity_type.manager')
    ->getDefinition('lockr_secret');
  \Drupal::service('entity.definition_update_manager')
    ->installEntityType($entityType);
}