You are here

function social_post_photo_update_8901 in Open Social 10.0.x

Same name and namespace in other branches
  1. 10.3.x modules/social_features/social_post/modules/social_post_photo/social_post_photo.install \social_post_photo_update_8901()
  2. 10.1.x modules/social_features/social_post/modules/social_post_photo/social_post_photo.install \social_post_photo_update_8901()
  3. 10.2.x modules/social_features/social_post/modules/social_post_photo/social_post_photo.install \social_post_photo_update_8901()

Change placeholder text of the post text field.

File

modules/social_features/social_post/modules/social_post_photo/social_post_photo.install, line 121
The Social post photo installation.

Code

function social_post_photo_update_8901() {

  /** @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_post_photo', 'social_post_photo_update_8901');

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