You are here

function content_sync_install in Content Synchronization 8.2

Same name and namespace in other branches
  1. 8 content_sync.install \content_sync_install()
  2. 3.0.x 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();
}