function menu_item_extras_update_8022 in Menu Item Extras 8.2
Implements hook_update_N().
Prepare 1.x body fields for entity updater.
File
- ./
menu_item_extras.install, line 79 - Contains install/uninstall functionality of module.
Code
function menu_item_extras_update_8022(&$sandbox) {
\Drupal::database()
->update('menu_link_content_data')
->fields([
'body__value' => NULL,
'body__format' => NULL,
])
->execute();
}