hal.post_update.php

Post update functions for Hal.

File

core/modules/hal/hal.post_update.php

View source
<?php


/**
 * @file
 * Post update functions for Hal.
 */

/**
 * Remove obsolete hal.settings configuration key.
 */
function hal_post_update_delete_settings() {
    \Drupal::configFactory()->getEditable('hal.settings')
        ->clear('bc_file_uri_as_url_normalizer')
        ->save();
}

Functions

Title Deprecated Summary
hal_post_update_delete_settings Remove obsolete hal.settings configuration key.

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