function social_content_block_update_8003 in Open Social 8.8
Same name and namespace in other branches
- 8.9 modules/social_features/social_content_block/social_content_block.install \social_content_block_update_8003()
- 10.3.x modules/social_features/social_content_block/social_content_block.install \social_content_block_update_8003()
- 10.0.x modules/social_features/social_content_block/social_content_block.install \social_content_block_update_8003()
- 10.1.x modules/social_features/social_content_block/social_content_block.install \social_content_block_update_8003()
- 10.2.x modules/social_features/social_content_block/social_content_block.install \social_content_block_update_8003()
Change the weight of fields for correct order.
File
- modules/
social_features/ social_content_block/ social_content_block.install, line 376 - Install, update and uninstall functions for the social_content_block module.
Code
function social_content_block_update_8003() {
/** @var \Drupal\update_helper\Updater $updateHelper */
$updateHelper = \Drupal::service('update_helper.updater');
// Execute configuration update definitions with logging of success.
$updateHelper
->executeUpdate('social_content_block', 'social_content_block_update_8003');
// Output logged messages to related channel of update execution.
return $updateHelper
->logger()
->output();
}