Update functions from Drupal 7.x to Backdrop CMS 1.x.
File
- core/
modules/ system/ system.install, line 1690 - Install, update and uninstall functions for the system module.
Functions
Name | Location | Description |
---|---|---|
block_update_1000 |
core/ |
Block cache is always enabled in Backdrop. |
block_update_1001 |
core/ |
Add a column for title to the block_custom table. |
block_update_1002 |
core/ |
Remove the legacy block tables. |
block_update_1003 |
core/ |
Increase {block_custom}.title length to 255 characters. |
block_update_1004 |
core/ |
Move individual blocks into config files. |
book_update_1000 |
core/ |
Move book settings from variables to config. |
book_update_1001 |
core/ |
Add options for navigation and links. |
book_update_1002 |
core/ |
Add option for reorder link. |
comment_update_1000 |
core/ |
Renames {comment}.language to {comment}.langcode. |
comment_update_1001 |
core/ |
Move comment content type settings into configuration files. |
comment_update_1002 |
core/ |
Move comment variables to configuration files. |
comment_update_1003 |
core/ |
Node type comment settings should be closed instead of hidden by default. |
comment_update_1004 |
core/ |
Add an Override column for automatic comment closing for individual nodes. |
comment_update_1005 |
core/ |
Move default comment view to comment module. |
comment_update_1006 |
core/ |
Creates the table to enable caching of Comment entities. |
comment_update_1007 |
core/ |
Give access to the new 'Administer comment settings' permission as needed. |
comment_update_1008 |
core/ |
Replace comment_subject_field setting with comment_title_options. |
contact_update_1000 |
core/ |
Convert contact module settings to use configuration files. |
contact_update_1001 |
core/ |
Convert available database contact categories to configuration files. |
contact_update_1002 |
core/ |
Set default value for new 'Phone' field setting. |
contextual_update_1000 |
core/ |
Increases weight of contextual module so it runs after most other modules. |
filter_update_1000 |
core/ |
Convert filter formats to configuration. |
filter_update_1001 |
core/ |
Add a separate permission for image upload access. |
filter_update_1002 |
core/ |
Import the image_library view. |
filter_update_1003 |
core/ |
Make the image_library view module-provided. |
filter_update_1004 |
core/ |
Add an exposed filename filter to the image_library view. |
image_update_1000 |
core/ |
Provide default image styles for the Image module. |
image_update_1001 |
core/ |
Convert available database image styles to configuration files. |
image_update_1002 |
core/ |
Drop image tables that were converted to configuration files. |
image_update_1003 |
core/ |
Add labels to all available styles. |
image_update_1004 |
core/ |
Update all image fields to use a static default image URI. |
image_update_1005 |
core/ |
Rename image config files. |
image_update_1006 |
core/ |
Add the configuration option for image_style_flood_limit. |
image_update_1007 |
core/ |
Update from Image size to more specific Image dimensions. |
image_update_1008 |
core/ |
Uninstall the imagecache_token contrib module, now part of core. |
language_update_1000 |
core/ |
Rename {language}.language to {language}.langcode. |
language_update_1001 |
core/ |
Convert language settings to config. |
language_update_1002 |
core/ |
Convert the language database table to config. |
language_update_1003 |
core/ |
Add the native name to all enabled languages. |
link_update_1000 |
core/ |
Move link settings from variables to config. |
link_update_1001 |
core/ |
Remove the Link config file. Link no longer has any config. |
locale_update_1000 |
core/ |
Drop textgroup support. |
locale_update_1001 |
core/ |
Language type 'language' renamed to 'language_interface'. |
locale_update_1002 |
core/ |
Removes duplicates in {locales_source}. |
locale_update_1003 |
core/ |
Move language negotiation settings from variables to config. |
locale_update_1004 |
core/ |
Update locale settings to config. |
locale_update_1005 |
core/ |
Convert source and translation from blob to text. |
menu_update_1000 |
core/ |
Moves menu settings from variables to config. |
menu_update_1001 |
core/ |
Move menu content type settings into configuration files. |
menu_update_1002 |
core/ |
Move individual menus into config files. |
menu_update_1003 |
core/ |
Delete primary and secondary menu settings. |
menu_update_1004 |
core/ |
Add new default config values. |
menu_update_1005 |
core/ |
Clean up duplicate user/login menu item entries. |
menu_update_1006 |
core/ |
Clean up duplicate system menu item entries. |
node_update_1000 |
core/ |
Set 'node' as home page path if it implicitly was before. |
node_update_1001 |
core/ |
Rename node type language variable names. |
node_update_1002 |
core/ |
Rename node.language field to node.langcode. |
node_update_1003 |
core/ |
Move theme settings to global site configuration. |
node_update_1004 |
core/ |
Remove the block_node_type table, now stored in layout configuration files. |
node_update_1005 |
core/ |
Convert content types to configuration files. |
node_update_1006 |
core/ |
Delete the node_type table after conversions to configuration files. |
node_update_1007 |
core/ |
Convert variables to configuration. |
node_update_1008 |
core/ |
Create the view replacement for admin/content/node. |
node_update_1009 |
core/ |
Update the language setting for all node types. |
node_update_1010 |
core/ |
Set all nodes to be language agnostic on mono-lingual sites. |
node_update_1011 |
core/ |
Delete the node_type table if it still exists. |
node_update_1012 |
core/ |
Rebuild node access to account for view unpublished. |
node_update_1013 |
core/ |
Update the empty text, name, and menu link, for the admin content view. |
node_update_1014 |
core/ |
Change {history}.nid to an unsigned int in order to match {node}.nid. |
node_update_1015 |
core/ |
Add column for scheduling the publishing of content in the future. |
node_update_1016 |
core/ |
Ensure content type statuses are the correct published/unpublished value. |
node_update_1017 |
core/ |
Update each content type with new hidden_path configuration defaulted to disabled. |
node_update_1018 |
core/ |
Update content admin view to show scheduled publication info. |
node_update_1019 |
core/ |
Update each content type with new node_preview configuration defaulted to enabled. |
node_update_1020 |
core/ |
Move default promoted view to node module. |
node_update_1021 |
core/ |
Creates the table to enable caching of Nodes entities. |
node_update_1022 |
core/ |
Update the admin content view with new/updated indicators and filter. |
search_update_1000 |
core/ |
Update search module to use the configuration system. |
search_update_1001 |
core/ |
Add the default value for the "search_logging" configuration value. |
search_update_1002 |
core/ |
Set all search blocks with 'default' title to 'custom' title with 'Search'. |
search_update_1003 |
core/ |
Set a default for the new search_pager_type setting if not already set. |
search_update_1004 |
core/ |
Update outdated search menu item, if necessary. |
simpletest_update_1000 |
core/ |
Update the simpletest_test_id table to hold a list of active prefixes. |
simpletest_update_1001 |
core/ |
Move simpletest settings from variables to config. |
system_update_1000 |
core/ |
Enable entity module. |
system_update_1001 |
core/ |
Move from the Garland theme. |
system_update_1002 |
core/ |
Set Bartik as default theme if it implicitly was the default before. |
system_update_1003 |
core/ |
Convert performance module settings to use configuration files. |
system_update_1004 |
core/ |
Create the "state" table for the state storage system. |
system_update_1005 |
core/ |
Convert basic system variables to the state system. |
system_update_1006 |
core/ |
Delete unneeded actions for manually saving comments and nodes. |
system_update_1007 |
core/ |
Create the tempstore table and remove the cache_form table. |
system_update_1008 |
core/ |
Convert the 'filesize' column in {file_managed} to a bigint. |
system_update_1009 |
core/ |
Enable Admin Menu module. |
system_update_1010 |
core/ |
Remove the registry and registry_file tables. |
system_update_1011 |
core/ |
Specify the files directory manually if needed. |
system_update_1012 |
core/ |
Convert cron settings to use configuration files. |
system_update_1013 |
core/ |
Moves site system settings from variable to config. |
system_update_1014 |
core/ |
Move the system maintenance settings from variable to config. |
system_update_1015 |
core/ |
Convert RSS publishing settings to use configuration files. |
system_update_1016 |
core/ |
Moves action_max_stack from variable to config. |
system_update_1017 |
core/ |
Moves system logging settings from variables to config. |
system_update_1018 |
core/ |
Moves authorize system settings from variable to config. |
system_update_1019 |
core/ |
Converts active_menus_default variable to config. |
system_update_1020 |
core/ |
Convert date settings to config. |
system_update_1021 |
core/ |
Removes the js_cache_files variable. |
system_update_1022 |
core/ |
Converts theme logo and shortcut settings to site-wide config. |
system_update_1023 |
core/ |
Enable admin_bar, replacing the renamed admin_menu. |
system_update_1024 |
core/ |
Consolidate common config files into "system.core". |
system_update_1025 |
core/ |
Convert block positioning and configuration to the default layout. |
system_update_1026 |
core/ |
Convert file system, clean URL, profile, and theme variables to config. |
system_update_1027 |
core/ |
Remove the per-user cache column from the session table. |
system_update_1028 |
core/ |
Convert filter fallback and user cancellation method variables to config. |
system_update_1029 |
core/ |
Convert config sync size to config. |
system_update_1030 |
core/ |
Convert mail system variable to config. |
system_update_1031 |
core/ |
Drop the actions table, no longer used by Backdrop. |
system_update_1032 |
core/ |
Enable config module. |
system_update_1033 |
core/ |
Set the minimum page cache lifetime to 5 minutes by default. |
system_update_1034 |
core/ |
Set the theme_debug flag to FALSE. |
system_update_1035 |
core/ |
Set the weight of Layout module to run last. |
system_update_1036 |
core/ |
Remove the private key from configuration. |
system_update_1037 |
core/ |
Set the default value for canonical_secure option. Check if old menu item exists and remove it. |
system_update_1038 |
core/ |
Upgrade or prepare for token module in core. |
system_update_1039 |
core/ |
Add the "auto" column to the url_alias table. |
system_update_1040 |
core/ |
Notify administrators if a non-core version of CKEditor module is present. |
system_update_1041 |
core/ |
Notify administrators if a non-core version of Email module is present. |
system_update_1042 |
core/ |
Notify administrators if a non-core version of Link module is present. |
system_update_1043 |
core/ |
Remove old Date configuration files. |
system_update_1044 |
core/ |
Notify administrators if a non-core version of the Date module is present. |
system_update_1045 |
core/ |
Ensure that the installation flag is properly set. |
system_update_1046 |
core/ |
Upgrade or prepare for transliteration functions in core. |
system_update_1047 |
core/ |
Provide a default value for maintenance_page_maximum_age. |
system_update_1048 |
core/ |
Set background fetch defaults. |
system_update_1049 |
core/ |
Bartik theme settings update: Indicate whether legacy colors should be used. |
system_update_1050 |
core/ |
Fix legacy color setting in Bartik. |
system_update_1051 |
core/ |
Notify administrators if a non-core version of Redirect module is present. |
system_update_1052 |
core/ |
Disable project browser if it previously existed on the site. |
system_update_1053 |
core/ |
Remove unnecessary items from the "main-menu" menu. |
system_update_1054 |
core/ |
Changes the key in layout config files from 'layout' to 'layout_template'. |
system_update_1055 |
core/ |
Create the new layout settings configuration file. |
system_update_1056 |
core/ |
Move incorrectly stored "log_row_limit" setting. |
system_update_1057 |
core/ |
Add default for watchdog_enabled_severity_levels. |
system_update_1058 |
core/ |
Clarify state "menu_expanded" as "menus_containing_expanded_items". |
system_update_1059 |
core/ |
Set home page menu to render as a drop-down menu. |
system_update_1060 |
core/ |
Remove the homepage breadcrumb block. |
system_update_1061 |
core/ |
Update contrib entity display mode module to core version. |
system_update_1062 |
core/ |
Remove configuration settings that were never used. |
system_update_1063 |
core/ |
Set a default value for the X-Frame-Options header. This will not allow the site to be rendered in an iframe on another domain unless specified. |
system_update_1064 |
core/ |
Add langcode column to {menu_links} table. |
system_update_1065 |
core/ |
Update the maintenance mode message field to use tokens. |
system_update_1066 |
core/ |
Update the core profile locations. |
system_update_1067 |
core/ |
Add default value for form_cache_expiration. |
system_update_1068 |
core/ |
Add 'jquery-extend-3.4.0.js' to the 'jquery' library. |
system_update_1069 |
core/ |
Removes an unused state value. |
system_update_1070 |
core/ |
Set file_temporary_path on existing sites, if not already set. |
system_update_1071 |
core/ |
Grant the "administer flexible templates" permission to all user roles that already have the "administer layouts" permission. |
system_update_1072 |
core/ |
Add 'jquery-html-prefilter-3.5.0.js' to the 'jquery' library. |
system_update_1073 |
core/ |
Set config_sync_clear_staging on existing sites, if not already set. |
system_update_1074 |
core/ |
Make sure that all config translatables are set for system core. |
system_update_1075 |
core/ |
Set a default value for the "Permissions-Policy: interest-cohort" header. |
system_update_1076 |
core/ |
Add default values for dismissible message settings. |
system_update_1077 |
core/ |
Explicitly set the admin theme to an actual theme, instead of the special 'Default theme' option. |
system_update_1078 |
core/ |
Re-arrange flexible layout configuration so we can save region classes. |
system_update_1079 |
core/ |
Clear the cache to reset allowlist settings. |
system_update_1080 |
core/ |
Set homepage to 'user' if blank to match previous behavior. |
system_update_1081 |
core/ |
Enable Admin Menu's Page Links component. |
system_update_1082 |
core/ |
Previous check for Entity Reference module. |
system_update_1083 |
core/ |
Set the default value for "file_additional_public_schemes" setting. |
system_update_1084 |
core/ |
Notify if a non-core version of Entity Reference module is present. |
system_update_1085 |
core/ |
Remove superfluous test files if they are present. |
system_update_1086 |
core/ |
Preserve 4-byte UTF-8 database update value if set. |
system_update_1087 |
core/ |
Set the message length for the database log. |
system_update_1088 |
core/ |
Set the file schemes whose paths should not be normalized. |
system_update_1089 |
core/ |
Enable Admin Bar's Language Switcher component if this is a multilingual site. |
system_update_1090 |
core/ |
Set a default value for the new user_editor_role setting on existing sites. |
system_update_1091 |
core/ |
Set jQuery to the backwards-compatible, legacy version for existing sites. |
system_update_1092 |
core/ |
Removes the block_interest_cohort configuration added by system_update_1075(). |
system_update_1093 |
core/ |
Set defaults for date_views if not already set. |
system_update_1094 |
core/ |
Enable static caching of the "system.date" configuration file. |
system_update_1095 |
core/ |
Set default values for flags for stripping sensitive headers on HTTP downgrade or host change. |
system_update_1096 |
core/ |
Fix icon display for customized system menu items. |
system_update_1097 |
core/ |
Set local_action_position in Admin Bar. |
taxonomy_update_1000 |
core/ |
Remove the {taxonomy_vocabulary}.module field. |
taxonomy_update_1001 |
core/ |
Convert taxonomy vocabularies to configuration. |
taxonomy_update_1002 |
core/ |
Drop the old taxonomy vocabulary table. |
taxonomy_update_1003 |
core/ |
Create the taxonomy.settings config file. |
taxonomy_update_1004 |
core/ |
Convert taxonomy terms per page to config. |
taxonomy_update_1005 |
core/ |
Drop the old taxonomy vocabulary table for existing Backdrop installations. |
taxonomy_update_1006 |
core/ |
Add langcode column to {taxonomy_term_data} table. |
taxonomy_update_1007 |
core/ |
Move default taxonomy term view to taxonomy module. |
taxonomy_update_1008 |
core/ |
Creates the table to enable caching of Taxonomy Term entities. |
taxonomy_update_1009 |
core/ |
Add new "create terms" permission to editor and admin roles. |
taxonomy_update_1010 |
core/ |
Clean up extraneous language-related configuration setting. |
text_update_1000 |
core/ |
Delete teaser_length variable. |
translation_update_1000 |
core/ |
Convert translation settings to config. |
translation_update_1001 |
core/ |
Fix Views which still have the Drupal 7 version of the language field and filter. Change from "language" to "langcode". |
translation_update_1002 |
core/ |
Add "Show content translation links" setting to each content type. |
update_update_1000 |
core/ |
Moves update settings from variables to config. |
update_update_1001 |
core/ |
Add config default value for "update_not_implemented_url". |
update_update_1002 |
core/ |
Enable static caching for update settings configuration file. |
update_update_1003 |
core/ |
Removes the testing-only values from the update.settings config. |
update_update_1004 |
core/ |
Fix wrong default value for update_threshold setting. |
update_update_1005 |
core/ |
Check for a faulty installer.settings.json and fix it or remove it if needed. |
user_update_1000 |
core/ |
The 'Member for' extra field has moved one level up in the array. |
user_update_1001 |
core/ |
Grant "administer account settings" to roles with "administer users." |
user_update_1002 |
core/ |
Remove the ability for users to select a theme. |
user_update_1003 |
core/ |
Moves account settings from variable to config. |
user_update_1004 |
core/ |
Moves login flood settings from variable to config. |
user_update_1005 |
core/ |
Moves user mail settings from variable to config. |
user_update_1006 |
core/ |
Moves user picture settings from variable to config. |
user_update_1007 |
core/ |
Convert user roles to configuration files. |
user_update_1008 |
core/ |
Update views that used the old role ID handlers to use role name instead. |
user_update_1009 |
core/ |
Create the default view for user administration. |
user_update_1010 |
core/ |
Set default option for login method to use accounts only. |
user_update_1011 |
core/ |
Update 'People' menus to 'User accounts'. |
user_update_1012 |
core/ |
Update 'Find user accounts' to 'Manage user accounts' |
user_update_1013 |
core/ |
Grant accounts with 'administer permissions' the new 'assign roles' permission. |
user_update_1014 |
core/ |
Fixes system email linebreaks. |
user_update_1015 |
core/ |
Change label 'Name' to 'Username' for clarity on user admin view. |
user_update_1016 |
core/ |
Creates the table to enable caching of User entities. |
user_update_1017 |
core/ |
Add admin mail text for pending approval. |
user_update_1018 |
core/ |
Set default values for core password constraints. |
user_update_1019 |
core/ |
Set the "user_admin_role" attribute to "0" (disabled) if it's missing. |
user_update_1020 |
core/ |
Make sure that all config translatables are set for user mails. |
user_update_1021 |
core/ |
Make sure that generation of automatic path alias is enabled for user 1. |
user_update_1022 |
core/ |
Moves the "log_user_flood_control" variable to config. |
user_update_1023 |
core/ |
Add default descriptions to user roles. |
user_update_1024 |
core/ |
Add a "changed" column to the "users" table. |
user_update_1025 |
core/ |
Add a "changed" column to the user_admin View. |
user_update_1026 |
core/ |
Correct the default config value for the "flood_uid_only" setting. |
views_ui_update_1000 |
core/ |
Update Views UI variables to use configuration files. |
views_ui_update_1001 |
core/ |
Add new default display(s) setting. |
views_ui_update_1002 |
core/ |
Rename the setting that allows showing the default display. |
views_update_1000 |
core/ |
Convert default views to configuration files. |
views_update_1001 |
core/ |
Convert available database views to configuration files. |
views_update_1002 |
core/ |
Drop Views tables that were converted to configuration files. |
views_update_1003 |
core/ |
Update Views variables to use configuration files. |
views_update_1004 |
core/ |
Replace the frontpage view with promoted. |
views_update_1005 |
core/ |
Set all grid style Views to use the deprecated table if not set already. |
views_update_1006 |
core/ |
Remove headers field from cache tables. |
views_update_1007 |
core/ |
Remove obsolete variable from config. |
_image_update_1004 |
core/ |
Helper function to update an image field or instance's default image. |