Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"extra": {
"drush": {
"services": {
"drush.12.5+.services.yml": ">=12.5",
"drush.9-11.services.yml": "^9 || ^10 || ^11"
}
}
Expand Down
43 changes: 0 additions & 43 deletions content_sync.admin.inc

This file was deleted.

9 changes: 5 additions & 4 deletions content_sync.install
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* @file
* Install, update and uninstall functions for the content_sync module.
Expand All @@ -7,8 +8,8 @@
/**
* Implements hook_install().
*/
function content_sync_install(){
//Create the content snapshot.
function content_sync_install() {
// Create the content snapshot.
$cs_snapshoot = Drupal::service('content_sync.snaphoshot');
$cs_snapshoot->snapshot();
}
Expand All @@ -20,7 +21,7 @@ function content_sync_schema() {
// Content Sync Table to use for diff.
$schema['cs_db_snapshot'] = [
'description' => 'The base table for configuration data.',
'fields' => [
'fields' => [
'collection' => [
'description' => 'Primary Key: Config object collection.',
'type' => 'varchar_ascii',
Expand All @@ -44,7 +45,7 @@ function content_sync_schema() {
],
'primary key' => ['collection', 'name'],
];
// Content Sync Logs Table
// Content Sync Logs Table.
$schema['cs_logs'] = [
'description' => 'Table that contains content_sync logs.',
'fields' => [
Expand Down
2 changes: 1 addition & 1 deletion content_sync.links.task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ content.view_logs:
content.settings:
title: 'Settings'
route_name: content.settings
base_route: content.sync
base_route: content.sync
Loading
Loading