Permalink
Browse files

MINOR Move config to yaml

  • Loading branch information...
1 parent 0f2f463 commit a34bc10a5069ed90df525ccd5341bd358402801b @drzax drzax committed Feb 19, 2013
Showing with 15 additions and 5 deletions.
  1. +0 −5 _config.php
  2. +15 −0 _config/extensions.yml
View
@@ -1,5 +0,0 @@
-<?php
-Object::add_extension('SiteTree', 'Translatable');
-Object::add_extension('SiteConfig', 'Translatable');
-Object::add_extension('LeftAndMain', 'TranslatableCMSMainExtension');
-Object::add_extension('HtmlEditorField_Toolbar', 'TranslatableEditorToolbarExtension');
View
@@ -0,0 +1,15 @@
+---
+Name: translatable-extensions
+---
+SiteTree:
+ extensions:
+ ['Translatable']
+SiteConfig:
+ extensions:
+ ['Translatable']
+LeftAndMain:
+ extensions:
+ ['TranslatableCMSMainExtension']
+HtmlEditorField_Toolbar:
+ extensions:
+ ['TranslatableEditorToolbarExtension']

0 comments on commit a34bc10

Please sign in to comment.