Skip to content

Commit c646d9c

Browse files
authored
[v5] Renamed fieldtype identifiers and tables (#2822)
* Renamed fieldtype identifiers * PHP & JS CS Fixes * Renamed tables * Adjusted nginx configuration * Update code_samples/tutorials/page_tutorial/assets/css/style.css
1 parent 892d3e5 commit c646d9c

File tree

61 files changed

+121
-119
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+121
-119
lines changed

code_samples/ai_actions/src/Command/AddMissingAltTextCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ private function getModifiedImages(): ContentList
150150
/** @phpstan-assert-if-true string $value->uri */
151151
private function shouldGenerateAltText(Value $value): bool
152152
{
153-
return $this->fieldTypeService->getFieldType('ezimage')->isEmptyValue($value) === false &&
153+
return $this->fieldTypeService->getFieldType('ibexa_image')->isEmptyValue($value) === false &&
154154
$value->isAlternativeTextEmpty() &&
155155
$value->uri !== null;
156156
}

code_samples/ai_actions/templates/themes/admin/admin/ui/fieldtype/edit/form_fields_binary_ai.html.twig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
{% extends '@ibexadesign/ui/field_type/edit/ezbinaryfile.html.twig' %}
1+
{% extends '@ibexadesign/ui/field_type/edit/ibexa_binaryfile.html.twig' %}
22

3-
{% block ezbinaryfile_preview %}
3+
{% block ibexa_binaryfile_preview %}
44
{{ parent() }}
55

66
{% import '@ibexadesign/connector_ai/ui/ai_module/macros.html.twig' as ai_macros %}

code_samples/api/public_php_api/src/Command/CreateContentTypeCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
7070
'eng-GB' => $contentTypeIdentifier,
7171
];
7272

73-
$titleFieldCreateStruct = $this->contentTypeService->newFieldDefinitionCreateStruct('name', 'ezstring');
73+
$titleFieldCreateStruct = $this->contentTypeService->newFieldDefinitionCreateStruct('name', 'ibexa_string');
7474
$titleFieldCreateStruct->names = ['eng-GB' => 'Name'];
7575
$titleFieldCreateStruct->descriptions = ['eng-GB' => 'The name'];
7676
$titleFieldCreateStruct->fieldGroup = 'content';

code_samples/back_office/images/config/services.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ services:
44
public: true
55
arguments:
66
- '@ibexa.api.service.content'
7-
- '@ibexa.field_type.ezbinaryfile.io_service'
7+
- '@ibexa.field_type.ibexa_binaryfile.io_service'
88
- '@Ibexa\Core\Helper\TranslationHelper'
99

1010
App\Connector\Dam\Handler\WikimediaCommonsHandler:
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ezimageasset.dam_asset.page_url: Image page
2-
ezimageasset.dam_asset.author: Image author
3-
ezimageasset.dam_asset.license: License
4-
ezimageasset.dam_asset.license_url: License page
1+
ibexa_image_asset.dam_asset.page_url: Image page
2+
ibexa_image_asset.dam_asset.author: Image author
3+
ibexa_image_asset.dam_asset.license: License
4+
ibexa_image_asset.dam_asset.license_url: License page

code_samples/back_office/online_editor/config/packages/custom_buttons.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ ibexa:
22
system:
33
admin_group:
44
fieldtypes:
5-
ezrichtext:
5+
ibexa_richtext:
66
custom_tags: [ezyoutube, eztwitter, ezfacebook]
77
toolbar:
88
group1:

code_samples/back_office/online_editor/config/packages/custom_classes.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ ibexa:
22
system:
33
admin_group:
44
fieldtypes:
5-
ezrichtext:
5+
ibexa_richtext:
66
classes:
77
paragraph:
88
choices: [regular, special, tip_box, warning_box]

code_samples/back_office/online_editor/config/packages/custom_data_attributes.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ ibexa:
22
system:
33
admin_group:
44
fieldtypes:
5-
ezrichtext:
5+
ibexa_richtext:
66
attributes:
77
heading:
88
custom-attribute:

code_samples/back_office/online_editor/config/packages/custom_plugin.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ ibexa:
22
system:
33
admin_group:
44
fieldtypes:
5-
ezrichtext:
5+
ibexa_richtext:
66
toolbars:
77
paragraph:
88
buttons:

code_samples/back_office/online_editor/config/packages/custom_styles.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ ibexa:
22
system:
33
admin_group:
44
fieldtypes:
5-
ezrichtext:
5+
ibexa_richtext:
66
custom_styles: [highlighted_block, highlighted_word]
77
ibexa_fieldtype_richtext:
88
custom_styles:
99
highlighted_word:
10-
template: '@ibexadesign/field_type/ezrichtext/custom_styles/highlighted_word.html.twig'
10+
template: '@ibexadesign/field_type/ibexa_richtext/custom_styles/highlighted_word.html.twig'
1111
inline: true
1212
highlighted_block:
13-
template: '@ibexadesign/field_type/ezrichtext/custom_styles/highlighted_block.html.twig'
13+
template: '@ibexadesign/field_type/ibexa_richtext/custom_styles/highlighted_block.html.twig'
1414
inline: false

0 commit comments

Comments
 (0)