tgc / edit-content-fix
...
Installs: 6
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
pkg:composer/tgc/edit-content-fix
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: 2025-10-07 22:49:06 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