tgc / edit-content-fix
There is no license information available for the latest version (dev-master) of this package.
...
dev-master
2017-09-01 14:41 UTC
Requires
- php: ^5.3.3 || ^7.0
- doctrine/doctrine-fixtures-bundle: ^2.3
- stof/doctrine-extensions-bundle: ^1.2
This package is not auto-updated.
Last update: 2024-05-07 16:32:49 UTC
README
Activate the bundle:
<?php // app/AppKernel.php class AppKernel extends Kernel { public function registerBundles() { $bundles = array( // ... new Stof\DoctrineExtensionsBundle\StofDoctrineExtensionsBundle(), ); } }
Add extensions to your mapping
<?php // app/config/config.yml doctrine: orm: mappings: translatable: type: annotation is_bundle: false prefix: Gedmo\Translatable\Entity dir: "%kernel.root_dir%/../vendor/gedmo/doctrine-extensions/lib/Gedmo/Translatable/Entity" alias: GedmoTranslatable
Enable translatable
<?php // app/config/config.yml stof_doctrine_extensions: orm: default: translatable: true