function layout_builder_update_12001

Uninstall the layout_builder_expose_all_field_blocks module.

File

core/modules/layout_builder/layout_builder.install, line 56

Code

function layout_builder_update_12001() : void {
  if (\Drupal::moduleHandler()->moduleExists('layout_builder_expose_all_field_blocks')) {
    \Drupal::service('module_installer')->uninstall([
      'layout_builder_expose_all_field_blocks',
    ]);
  }
}

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