function content_sync_install in Content Synchronization 3.0.x
Same name and namespace in other branches
- 8.2 content_sync.install \content_sync_install()
- 8 content_sync.install \content_sync_install()
Implements hook_install().
File
- ./
content_sync.install, line 10 - Install, update and uninstall functions for the content_sync module.
Code
function content_sync_install() {
//Create the content snapshot.
$cs_snapshoot = Drupal::service('content_sync.snaphoshot');
$cs_snapshoot
->snapshot();
}