Skip to content

Commit

Permalink
[TASK] Add descriptions to content element registration
Browse files Browse the repository at this point in the history
  • Loading branch information
buepro committed Oct 19, 2024
1 parent f562295 commit 2da87e4
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 24 deletions.
9 changes: 5 additions & 4 deletions Configuration/TCA/Overrides/200_content_element_listcat.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,11 @@
'tt_content',
'CType',
[
'LLL:EXT:pizpalue/Resources/Private/Language/Backend.xlf:ce_list_categorized_content.title',
'pp_list_categorized_content',
'content-pizpalue-list-categorized-content',
'pizpalue',
'label' => 'LLL:EXT:pizpalue/Resources/Private/Language/Backend.xlf:ce_list_categorized_content.title',
'description' => 'LLL:EXT:pizpalue/Resources/Private/Language/Backend.xlf:ce_list_categorized_content.description',
'value' => 'pp_list_categorized_content',
'icon' => 'content-pizpalue-list-categorized-content',
'group' => 'pizpalue',
]
);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,11 @@
'tt_content',
'CType',
[
'LLL:EXT:pizpalue/Resources/Private/Language/Backend.xlf:ce_modal_dialog.title',
'pp_modal_dialog',
'content-pizpalue-modal-dialog',
'pizpalue',
'label' => 'LLL:EXT:pizpalue/Resources/Private/Language/Backend.xlf:ce_modal_dialog.title',
'description' => 'LLL:EXT:pizpalue/Resources/Private/Language/Backend.xlf:ce_modal_dialog.description',
'value' => 'pp_modal_dialog',
'icon' => 'content-pizpalue-modal-dialog',
'group' => 'pizpalue',
]
);

Expand Down
9 changes: 5 additions & 4 deletions Configuration/TCA/Overrides/204_content_element_schema.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,11 @@
'tt_content',
'CType',
[
'LLL:EXT:pizpalue/Resources/Private/Language/Backend.xlf:ce_schema.title',
'pp_schema',
'content-pizpalue-schema',
'pizpalue',
'label' => 'LLL:EXT:pizpalue/Resources/Private/Language/Backend.xlf:ce_schema.title',
'description' => 'LLL:EXT:pizpalue/Resources/Private/Language/Backend.xlf:ce_schema.description',
'value' => 'pp_schema',
'icon' => 'content-pizpalue-schema',
'group' => 'pizpalue',
]
);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,11 @@
'tt_content',
'CType',
[
'LLL:EXT:pizpalue/Resources/Private/Language/Backend.xlf:ce_picoverlay.title',
'pp_picoverlay',
'content-pizpalue-picoverlay',
'pizpalue',
'label' => 'LLL:EXT:pizpalue/Resources/Private/Language/Backend.xlf:ce_picoverlay.title',
'description' => 'LLL:EXT:pizpalue/Resources/Private/Language/Backend.xlf:ce_picoverlay.description',
'value' => 'pp_picoverlay',
'icon' => 'content-pizpalue-picoverlay',
'group' => 'pizpalue',
]
);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,11 @@
'tt_content',
'CType',
[
'LLL:EXT:pizpalue/Resources/Private/Language/Backend.xlf:ce_emphasize_media.title',
'pp_emphasize_media',
'content-pizpalue-emphasize-media',
'pizpalue',
'label' => 'LLL:EXT:pizpalue/Resources/Private/Language/Backend.xlf:ce_emphasize_media.title',
'description' => 'LLL:EXT:pizpalue/Resources/Private/Language/Backend.xlf:ce_emphasize_media.descriptiom',
'value' => 'pp_emphasize_media',
'icon' => 'content-pizpalue-emphasize-media',
'group' => 'pizpalue',
]
);

Expand Down
9 changes: 5 additions & 4 deletions Configuration/TCA/Overrides/210_content_element_card.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,11 @@
'tt_content',
'CType',
[
'LLL:EXT:pizpalue/Resources/Private/Language/Backend.xlf:ce_card.title',
'pp_card',
'content-pizpalue-card',
'pizpalue',
'label' => 'LLL:EXT:pizpalue/Resources/Private/Language/Backend.xlf:ce_card.title',
'description' => 'LLL:EXT:pizpalue/Resources/Private/Language/Backend.xlf:ce_card.description',
'value' => 'pp_card',
'icon' => 'content-pizpalue-card',
'group' => 'pizpalue',
]
);

Expand Down

0 comments on commit 2da87e4

Please sign in to comment.