Commit bd69cfc9 authored by alexpott's avatar alexpott

Issue #2860096 by GoZ, jhodgdon: Remove api doc groups for updates eg. updates-8.2.x-to-8.3.x

parent 6b62f6bc
......@@ -22,11 +22,6 @@ function aggregator_requirements($phase) {
return $requirements;
}
/**
* @addtogroup updates-8.0.0-rc
* @{
*/
/**
* The simple presence of this update function clears cached field definitions.
*/
......@@ -34,15 +29,6 @@ function aggregator_update_8001() {
// Feed ID base field is now required.
}
/**
* @} End of "addtogroup updates-8.0.0-rc".
*/
/**
* @addtogroup updates-8.2.x
* @{
*/
/**
* Make the 'Source feed' field for aggregator items required.
*/
......@@ -54,7 +40,3 @@ function aggregator_update_8200() {
$field_definition->setRequired(TRUE);
$definition_update_manager->updateFieldStorageDefinition($field_definition);
}
/**
* @} End of "addtogroup updates-8.2.x".
*/
......@@ -17,11 +17,6 @@ function block_install() {
Cache::invalidateTags(['rendered']);
}
/**
* @addtogroup updates-8.0.0-beta
* @{
*/
/**
* Update block visibility context mapping.
*/
......@@ -122,7 +117,3 @@ function block_update_8003() {
return t('Block settings updated.');
}
/**
* @} End of "addtogroup updates-8.0.0-beta".
*/
......@@ -5,11 +5,6 @@
* Post update functions for Block.
*/
/**
* @addtogroup updates-8.0.0-beta
* @{
*/
/**
* Disable all blocks with missing context IDs in block_update_8001().
*/
......@@ -81,15 +76,6 @@ function block_post_update_disabled_region_update() {
// An empty update will flush caches, forcing block_rebuild() to run.
}
/**
* @} End of "addtogroup updates-8.0.0-beta".
*/
/**
* @addtogroup updates-8.2.x
* @{
*/
/**
* Fix invalid 'negate' values in block visibility conditions.
*/
......@@ -113,7 +99,3 @@ function block_post_update_fix_negate_in_conditions() {
}
}
}
/**
* @} End of "addtogroup updates-8.2.x".
*/
......@@ -113,11 +113,6 @@ function comment_schema() {
return $schema;
}
/**
* @addtogroup updates-8.0.0-rc
* @{
*/
/**
* Clear caches to fix Comment entity list builder and operations Views field.
*/
......@@ -126,10 +121,6 @@ function comment_update_8001() {
// information, so that comment operation links work.
}
/**
* @} End of "addtogroup updates-8.0.0-rc".
*/
/**
* Clear caches to fix Comment Views context filter.
*/
......@@ -137,11 +128,6 @@ function comment_update_8002() {
// Empty update to cause a cache flush.
}
/**
* @addtogroup updates-8.2.x
* @{
*/
/**
* Add the 'view_mode' setting to displays having 'comment_default' formatter.
*/
......@@ -176,15 +162,6 @@ function comment_update_8200() {
}
}
/**
* @} End of "addtogroup updates-8.2.x".
*/
/**
* @addtogroup updates-8.3.x
* @{
*/
/**
* Update status field.
*/
......@@ -207,7 +184,3 @@ function comment_update_8301() {
$entity_type->set('entity_keys', $keys);
$definition_update_manager->updateEntityType($entity_type);
}
/**
* @} End of "addtogroup updates-8.3.x".
*/
......@@ -7,10 +7,6 @@
use Drupal\contact\Entity\ContactForm;
/**
* @addtogroup updates-8.1.x-to-8.2.x
* @{
*/
/**
* Initialize 'message' and 'redirect' field values to 'contact_form' entities.
......@@ -24,7 +20,3 @@ function contact_post_update_add_message_redirect_field_to_contact_form() {
->save();
}
}
/**
* @} End of "addtogroup updates-8.1.x-to-8.2.x".
*/
......@@ -31,11 +31,6 @@ function content_translation_install() {
drupal_set_message($message, 'warning');
}
/**
* @addtogroup updates-8.0.0-rc
* @{
*/
/**
* Rebuild the routes as the content translation routes have now new names.
*/
......@@ -43,22 +38,9 @@ function content_translation_update_8001() {
\Drupal::service('router.builder')->rebuild();
}
/**
* @} End of "addtogroup updates-8.0.0-rc".
*/
/**
* @addtogroup updates-8.0.x
* @{
*/
/**
* Clear field type plugin caches to fix image field translatability.
*/
function content_translation_update_8002() {
\Drupal::service('plugin.manager.field.field_type')->clearCachedDefinitions();
}
/**
* @} End of "addtogroup updates-8.0.x".
*/
......@@ -5,18 +5,9 @@
* Post-update functions for Datetime Range module.
*/
/**
* @addtogroup updates-8.2.x
* @{
*/
/**
* Clear caches to ensure schema changes are read.
*/
function datetime_range_post_update_translatable_separator() {
// Empty post-update hook to cause a cache rebuild.
}
/**
* @} End of "addtogroup updates-8.2.x".
*/
......@@ -5,17 +5,8 @@
* Post update functions for Editor.
*/
/**
* @addtogroup updates-8.2.x
* @{
*/
/**
* Clear the render cache to fix file references added by Editor.
*/
function editor_post_update_clear_cache_for_file_reference_filter() {
}
/**
* @} End of "addtogroup updates-8.2.x".
*/
......@@ -9,10 +9,6 @@
use Drupal\field\Entity\FieldStorageConfig;
use Drupal\field\Entity\FieldConfig;
/**
* @addtogroup updates-8.0.0-beta
* @{
*/
/**
* Re-save all field storage config objects to add 'custom_storage' property.
......@@ -42,15 +38,6 @@ function field_post_update_entity_reference_handler_setting() {
return t('Selection handler for entity reference fields have been adjusted.');
}
/**
* @} End of "addtogroup updates-8.0.0-beta".
*/
/**
* @addtogroup updates-8.1.0
* @{
*/
/**
* Adds the 'size' setting for email widgets.
*/
......@@ -72,7 +59,3 @@ function field_post_update_email_widget_size_setting() {
return t('The new size setting for email widgets has been added.');
}
/**
* @} End of "addtogroup updates-8.1.0".
*/
......@@ -5,11 +5,6 @@
* Update functions for the HAL module.
*/
/**
* @addtogroup updates-8.2.x-to-8.3.x
* @{
*/
/**
* Move 'link_domain' from 'rest.settings' to 'hal.settings'.
*/
......@@ -36,7 +31,3 @@ function hal_update_8301() {
$hal_settings->set('link_domain', $link_domain);
$hal_settings->save(TRUE);
}
/**
* @} End of "addtogroup updates-8.2.x-to-8.3.x".
*/
......@@ -43,12 +43,6 @@ function history_schema() {
return $schema;
}
/**
* @defgroup updates-8.0.x-to-8.1.x Updates from 8.0.x to 8.1.x
* @{
* Update functions from 8.0.x to 8.1.x.
*/
/**
* Change {history}.nid to an unsigned int in order to match {node}.nid.
*/
......@@ -94,7 +88,3 @@ function history_update_8101() {
];
$schema->addIndex('history', 'nid', ['nid'], $spec);
}
/**
* @} End of "defgroup updates-8.0.x-to-8.1.x".
*/
......@@ -7,11 +7,6 @@
use Drupal\Core\Entity\Entity\EntityFormDisplay;
/**
* @addtogroup updates-8.4.0
* @{
*/
/**
* Add the 'include_locked' settings to the 'language_select' widget.
*/
......@@ -31,7 +26,3 @@ function language_post_update_language_select_widget() {
}
}
}
/**
* @} End of "addtogroup updates-8.4.0".
*/
......@@ -295,11 +295,6 @@ function locale_requirements($phase) {
return $requirements;
}
/**
* @addtogroup updates-8.3.x
* @{
*/
/**
* Delete translation status data in state.
*/
......@@ -308,7 +303,3 @@ function locale_update_8300() {
// the new key value collection.
\Drupal::state()->delete('locale.translation_status');
}
/**
* @} End of "addtogroup updates-8.3.x".
*/
......@@ -5,11 +5,6 @@
* Contains install and update functions for Migrate.
*/
/**
* @addtogroup updates-8.0.0-beta
* @{
*/
/**
* Remove load plugin references from existing migrations.
*/
......@@ -21,7 +16,3 @@ function migrate_update_8001() {
$migration->save(TRUE);
}
}
/**
* @} End of "addtogroup updates-8.0.0-beta".
*/
......@@ -221,11 +221,6 @@ function node_update_8003() {
}
}
/**
* @addtogroup updates-8.3.x
* @{
*/
/**
* Change {node_access}.fallback from an int to a tinyint as it is a boolean.
*/
......@@ -251,7 +246,3 @@ function node_update_8301() {
$entity_type->set('entity_keys', $keys);
$definition_update_manager->updateEntityType($entity_type);
}
/**
* @} End of "addtogroup updates-8.3.x".
*/
......@@ -5,11 +5,6 @@
* Update functions for the path module.
*/
/**
* @addtogroup updates-8.2.0
* @{
*/
/**
* Change the path field to computed for node and taxonomy_term.
*/
......@@ -26,7 +21,3 @@ function path_update_8200() {
}
}
}
/**
* @} End of "addtogroup updates-8.2.0".
*/
......@@ -8,11 +8,6 @@
use Drupal\Core\Entity\Display\EntityViewDisplayInterface;
use Drupal\Core\Entity\Entity\EntityViewDisplay;
/**
* @addtogroup updates-8.1.x
* @{
*/
/**
* Make responsive image formatters dependent on responsive image styles.
*/
......@@ -26,7 +21,3 @@ function responsive_image_post_update_recreate_dependencies() {
}
});
}
/**
* @} End of "addtogroup updates-8.1.x".
*/
......@@ -25,12 +25,6 @@ function rest_requirements($phase) {
return $requirements;
}
/**
* @defgroup updates-8.1.x-to-8.2.x Updates from 8.1.x to 8.2.x
* @{
* Update functions from 8.1.x to 8.2.x.
*/
/**
* Install the REST config entity type and fix old settings-based config.
*
......@@ -90,7 +84,3 @@ function rest_update_8203() {
$rest_settings->set('bc_entity_resource_permissions', TRUE)
->save(TRUE);
}
/**
* @} End of "defgroup updates-8.1.x-to-8.2.x".
*/
......@@ -8,11 +8,6 @@
use Drupal\rest\Entity\RestResourceConfig;
use Drupal\rest\RestResourceConfigInterface;
/**
* @addtogroup updates-8.1.x-to-8.2.x
* @{
*/
/**
* Create REST resource configuration entities.
*
......@@ -66,8 +61,3 @@ function rest_post_update_resource_granularity() {
}
}
}
/**
* @} End of "addtogroup updates-8.1.x-to-8.2.x".
*/
......@@ -30,12 +30,6 @@ function serialization_requirements($phase) {
return $requirements;
}
/**
* @defgroup updates-8.2.x-to-8.3.x Updates from 8.2.x to 8.3.x
* @{
* Update functions from 8.2.x to 8.3.x.
*/
/**
* @see hal_update_8301()
*/
......@@ -52,7 +46,3 @@ function serialization_update_8302() {
return t('The REST API will no longer output all values as strings. Integers/booleans will be used where appropriate. If your site depends on these value being strings, <a href="https://www.drupal.org/node/2837696">read the change record to learn how to enable the BC mode.</a>');
}
/**
* @} End of "defgroup updates-8.2.x-to-8.3.x".
*/
......@@ -1090,11 +1090,6 @@ function system_schema() {
return $schema;
}
/**
* @addtogroup updates-8.0.0-beta
* @{
*/
/**
* Change two fields on the default menu link storage to be serialized data.
*/
......@@ -1724,15 +1719,6 @@ function system_update_8013() {
->save(TRUE);
}
/**
* @} End of "addtogroup updates-8.0.0-beta".
*/
/**
* @addtogroup updates-8.0.0-rc
* @{
*/
/**
* Install the Stable base theme if needed.
*/
......@@ -1752,15 +1738,6 @@ function system_update_8014() {
}
}
/**
* @} End of "addtogroup updates-8.0.0-rc".
*/
/**
* @addtogroup updates-8.2.0
* @{
*/
/**
* Fix configuration overrides to not override non existing keys.
*/
......@@ -1791,15 +1768,6 @@ function system_update_8201() {
// Empty update to cause a cache rebuild.
}
/**
* @} End of "addtogroup updates-8.2.0".
*/
/**
* @addtogroup updates-8.2.3
* @{
*/
/**
* Clear caches due to behavior change in MachineName element.
*/
......@@ -1807,15 +1775,6 @@ function system_update_8202() {
// Empty update to cause a cache rebuild.
}
/**
* @} End of "addtogroup updates-8.2.3".
*/
/**
* @addtogroup updates-8.3.0
* @{
*/
/**
* Add detailed cron logging configuration.
*/
......@@ -1834,15 +1793,6 @@ function system_update_8301() {
->save();
}
/**
* @} End of "addtogroup updates-8.3.0".
*/
/**
* @addtogroup updates-8.4.x
* @{
*/
/**
* Move revision metadata fields to the revision table.
*/
......@@ -1977,7 +1927,3 @@ function system_update_8400(&$sandbox) {
$sandbox['#finished'] = $sandbox['current'] == $sandbox['max'];
}
/**
* @} End of "addtogroup updates-8.4.x".
*/
......@@ -9,11 +9,6 @@
use Drupal\Core\Entity\Entity\EntityFormDisplay;
use Drupal\Core\Entity\Entity\EntityViewDisplay;
/**
* @addtogroup updates-8.0.0-beta
* @{
*/
/**
* Re-save all configuration entities to recalculate dependencies.
*/
......@@ -42,10 +37,6 @@ function system_post_update_recalculate_configuration_entity_dependencies(&$sand
return t('Configuration dependencies recalculated');
}
/**
* @} End of "addtogroup updates-8.0.0-beta".
*/
/**
* Update entity displays to contain the region for each field.
*/
......@@ -66,11 +57,6 @@ function system_post_update_hashes_clear_cache() {
// Empty post-update hook.
}
/**
* @addtogroup updates-8.3.x
* @{
*/
/**
* Force plugin definitions to be cleared.
*
......@@ -79,7 +65,3 @@ function system_post_update_hashes_clear_cache() {
function system_post_update_timestamp_plugins() {
// Empty post-update hook.
}
/**
* @} End of "addtogroup uupdates-8.3.x".
*/
......@@ -149,11 +149,6 @@ function _update_requirement_check($project, $type) {
return $requirement;
}
/**
* @addtogroup updates-8.1.x
* @{
*/
/**
* Rebuild the router to ensure admin/reports/updates/check has CSRF protection.
*/
......@@ -161,7 +156,3 @@ function update_update_8001() {
// Empty update forces a call to drupal_flush_all_caches() which rebuilds the
// router.
}
/**
* @} End of "addtogroup updates-8.1.x".
*/
......@@ -86,11 +86,6 @@ function user_install() {
->save();
}
/**
* @addtogroup updates-8.1.0-beta
* @{
*/
/**
* Fix invalid token in the status_blocked email body.
*/
......@@ -103,7 +98,3 @@ function user_update_8100() {
$config->set('status_blocked', $mail)->save(TRUE);
}
}
/**
* @} End of "addtogroup updates-8.1.0-beta".
*/
......@@ -7,11 +7,6 @@
use Drupal\user\Entity\Role;
/**
* @addtogroup updates-8.3.x
* @{
*/
/**
* Enforce order of role permissions.
*/
......@@ -25,7 +20,3 @@ function user_post_update_enforce_order_of_permissions() {
};
array_map($entity_save, Role::loadMultiple());
}
/**
* @} End of "addtogroup updates-8.3.x".
*/
......@@ -12,11 +12,6 @@ function views_install() {
module_set_weight('views', 10);
}
/**
* @addtogroup updates-8.0.0-beta
* @{
*/
/**
* Update views field plugins.
*/
......@@ -310,15 +305,6 @@ function _views_update_argument_map($displays) {
return $argument_map;
}
/**
* @} End of "addtogroup updates-8.0.0-beta".
*/
/**
* @addtogroup updates-8.0.0-rc
* @{
*/
/**
* Clear caches to fix entity operations field.
*/
......@@ -328,15 +314,6 @@ function views_update_8003() {
// field.
}
/**
* @} End of "addtogroup updates-8.0.0-rc".
*/
/**
* @addtogroup updates-8.0.x
* @{
*/
/**
* Clear caches due to updated entity views data.
*/
......@@ -344,15 +321,6 @@ function views_update_8004() {
// Empty update to cause a cache flush so that views data is rebuilt.
}
/**
* @} End of "addtogroup updates-8.0.x".
*/
/**
* @addtogroup updates-8.1.0
* @{
*/
/**
* Clear views data cache.
*/
......@@ -389,15 +357,6 @@ function views_update_8101() {
}
}
/**
* @} End of "addtogroup updates-8.1.0".
*/
/**
* @addtogroup updates-8.2.0
* @{
*/
/**
* Rebuild the container to add a new container parameter.