Registry / other / a2lix-translation-form-bundle

a2lix-translation-form-bundle

JSON →
library4.0.4phppackagistunverified

Translate your doctrine objects easily with some helpers

composer require a2lix/translation-form-bundle
INSTALL
IMPORT
SIG · A2LIX-TRANSLATION-
A
a2lix-translation-form-bundle
otherphpv4.0.4
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

TranslationsType
use A2lix\TranslationFormBundle\Form\Type\TranslationsType;

Add translation fields to a Symfony form

use A2lix\TranslationFormBundle\Form\Type\TranslationsType; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\FormBuilderInterface; class ProductType extends AbstractType { public function buildForm(FormBuilderInterface $builder, array $options) { $builder->add('translations', TranslationsType::class); } }
Debug
Known issues
gotchaGotcha: The bundle requires the gedmo/doctrine-extensions for translatable behavior.
fix
Install and configure gedmo/doctrine-extensions with the Translatable listener.
affects: *
Upgrade
Version history
4.0.4latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
52 hits · last 30 days
node
44
OpenAI (training)
1
Resources
a2lix-translation-form-bundle — pip install a2lix-translation-form-bundle · libregistry