Skip to content

Commit

Permalink
IBX-8626: Added block prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
mikadamczyk committed Aug 28, 2024
1 parent 2caf048 commit 611304b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/Form/Type/FieldType/ImageAssetFieldType.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ public function buildForm(FormBuilderInterface $builder, array $options)
TextType::class,
[
'label' => /** @Desc("Alternative text") */ 'content.field_type.ezimageasset.alternative_text',
'block_prefix' => 'ibexa_fieldtype_ezimage_alternative_text',
]
);
}
Expand Down
2 changes: 2 additions & 0 deletions src/lib/Form/Type/FieldType/ImageFieldType.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ public function buildForm(FormBuilderInterface $builder, array $options)
[
'label' => /** @Desc("Alternative text") */ 'content.field_type.ezimage.alternative_text',
'required' => $options['is_alternative_text_required'],
'block_prefix' => 'ibexa_fieldtype_ezimage_alternative_text',

]
)
->add(
Expand Down

0 comments on commit 611304b

Please sign in to comment.