Skip to content

Commit

Permalink
[TASK] Migrate easyconf TCA
Browse files Browse the repository at this point in the history
  • Loading branch information
buepro committed Aug 23, 2024
1 parent c763e57 commit 4ae7f28
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
TcaUtility::modifyColumns(
$tca['columns'],
'primary',
['config' => ['renderType' => 'colorpicker']],
['config' => ['type' => 'color']],
'color'
);
TcaUtility::modifyColumns(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@
TcaUtility::modifyColumns(
$tca['columns'],
'content.href',
['config' => ['renderType' => 'inputLink']],
['config' => ['type' => 'link', 'allowedTypes' => ['page']]],
'cookie'
);
TcaUtility::modifyColumns(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@
$tca['columns'],
$fontGoogleProperties,
[
'config' => ['eval' => 'required'],
'config' => ['required' => true],
'displayCond' => 'FIELD:font_control_google_font_enable:REQ:true'
],
'font_google'
Expand All @@ -135,7 +135,7 @@
$tca['columns'],
$fontGoogleHeadingsProperties,
[
'config' => ['eval' => 'required'],
'config' => ['required' => true],
'displayCond' => ['AND' => [
'FIELD:font_control_google_font_enable:REQ:true',
'FIELD:font_control_enable_headings_font:REQ:true'
Expand Down Expand Up @@ -190,7 +190,7 @@
TcaUtility::modifyColumns(
$tca['columns'],
'',
['config' => ['eval' => 'required,num']],
['config' => ['eval' => 'num', 'required' => true]],
'',
'font_normal_font-weight-normal, font_headings_headings-font-weight'
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@
TcaUtility::modifyColumns(
$tca['columns'],
'items.first.pageUid, items.second.pageUid, items.third.pageUid',
['config' => ['type' => 'input', 'renderType' => 'inputLink']],
['config' => ['type' => 'link']],
'menu_fast'
);
$tca['columns']['menu_fast_enable']['tx_easyconf']['path'] = 'pizpalue.menu.fast.enable';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
TcaUtility::modifyColumns(
$tca['columns'],
$socialChannelProperties,
['config' => ['renderType' => 'inputLink']],
['config' => ['type' => 'link', 'allowedTypes' => ['url']]],
'social_channel'
);

Expand Down

0 comments on commit 4ae7f28

Please sign in to comment.