You are here

function social_content_block_update_8005 in Open Social 8.8

Same name and namespace in other branches
  1. 8.9 modules/social_features/social_content_block/social_content_block.install \social_content_block_update_8005()
  2. 10.3.x modules/social_features/social_content_block/social_content_block.install \social_content_block_update_8005()
  3. 10.0.x modules/social_features/social_content_block/social_content_block.install \social_content_block_update_8005()
  4. 10.1.x modules/social_features/social_content_block/social_content_block.install \social_content_block_update_8005()
  5. 10.2.x modules/social_features/social_content_block/social_content_block.install \social_content_block_update_8005()

Move the "Number of items" field to the "Content" section.

File

modules/social_features/social_content_block/social_content_block.install, line 397
Install, update and uninstall functions for the social_content_block module.

Code

function social_content_block_update_8005() {

  /** @var \Drupal\update_helper\UpdaterInterface $update_helper */
  $update_helper = \Drupal::service('update_helper.updater');

  // Execute configuration update definitions with logging of success.
  $update_helper
    ->executeUpdate('social_content_block', 'social_content_block_update_8005');

  // Output logged messages to related channel of update execution.
  return $update_helper
    ->logger()
    ->output();
}