function social_search_update_10001 in Open Social 10.1.x
Same name and namespace in other branches
- 10.3.x modules/social_features/social_search/social_search.install \social_search_update_10001()
- 10.2.x modules/social_features/social_search/social_search.install \social_search_update_10001()
Removed created field for profile and added 'Owner » User » Created' field.
File
- modules/
social_features/ social_search/ social_search.install, line 202 - Install, update and uninstall functions for the social_search module.
Code
function social_search_update_10001() {
/** @var \Drupal\update_helper\Updater $updateHelper */
$updateHelper = \Drupal::service('update_helper.updater');
// Execute configuration update definitions with logging of success.
$updateHelper
->executeUpdate('social_search', 'social_search_update_10001');
// Output logged messages to related channel of update execution.
return $updateHelper
->logger()
->output();
}