Merge pull request #95 from lrc/config

MINOR Move config to yaml
This commit is contained in:
Ingo Schommer 2013-02-19 01:00:01 -08:00
commit 02fb7b6772
2 changed files with 15 additions and 5 deletions

View File

@ -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 Normal file
View File

@ -0,0 +1,15 @@
---
Name: translatable-extensions
---
SiteTree:
extensions:
['Translatable']
SiteConfig:
extensions:
['Translatable']
LeftAndMain:
extensions:
['TranslatableCMSMainExtension']
HtmlEditorField_Toolbar:
extensions:
['TranslatableEditorToolbarExtension']