]> _ Git - cubist_cms-back.git/commitdiff
#2868
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 8 Jul 2019 10:28:28 +0000 (12:28 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 8 Jul 2019 10:28:28 +0000 (12:28 +0200)
src/app/Magic/Fields/FieldsCollection.php [deleted file]
src/app/Magic/Models/Translate.php

diff --git a/src/app/Magic/Fields/FieldsCollection.php b/src/app/Magic/Fields/FieldsCollection.php
deleted file mode 100644 (file)
index 044cfd3..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-<?php
-
-namespace Cubist\Backpack\app\Magic\Fields;
-
-class FieldsCollection extends Field
-{
-    protected $_adminType = 'collection';
-    protected $_databaseType = 'text';
-
-    public function setDefinitions()
-    {
-
-    }
-}
index c44844738971374fc9342ea96c7a8d5d3b9f5ca6..03c015a699979cec23bb801dac4996d0bea1a36e 100644 (file)
@@ -6,5 +6,9 @@ namespace Cubist\Backpack\app\Magic\Models;
 
 class Translate extends CubistMagicModel
 {
+    protected $table = 'cubist_translate';
 
+    protected $_options = ['name' => 'translate',
+        'singular' => 'traduction',
+        'plural' => 'traductions'];
 }