Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MINOR Move config to yaml

  • Loading branch information...
commit a34bc10a5069ed90df525ccd5341bd358402801b 1 parent 0f2f463
Simon Elvery drzax authored
Showing with 15 additions and 5 deletions.
  1. +0 −5 _config.php
  2. +15 −0 _config/extensions.yml
5 _config.php
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');
15 _config/extensions.yml
View
@@ -0,0 +1,15 @@
+---
+Name: translatable-extensions
+---
+SiteTree:
+ extensions:
+ ['Translatable']
+SiteConfig:
+ extensions:
+ ['Translatable']
+LeftAndMain:
+ extensions:
+ ['TranslatableCMSMainExtension']
+HtmlEditorField_Toolbar:
+ extensions:
+ ['TranslatableEditorToolbarExtension']
Please sign in to comment.
Something went wrong with that request. Please try again.