Skip to content

Commit

Permalink
IBX-8626: Added block prefix (#73)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikadamczyk authored Sep 16, 2024
1 parent d1a733b commit 19ee7c7
Show file tree
Hide file tree
Showing 2 changed files with 2 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
1 change: 1 addition & 0 deletions src/lib/Form/Type/FieldType/ImageFieldType.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ 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 19ee7c7

Please sign in to comment.