function path_alias_post_update_drop_path_alias_status_index

Remove the path_alias__status index.

File

core/modules/path_alias/path_alias.post_update.php, line 11

Code

function path_alias_post_update_drop_path_alias_status_index() : void {
    
    /** @var \Drupal\Core\Entity\EntityDefinitionUpdateManagerInterface $update_manager */
    $update_manager = \Drupal::service('entity.definition_update_manager');
    $entity_type = $update_manager->getEntityType('path_alias');
    $update_manager->updateEntityType($entity_type);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.