File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ public function txContainerParent(array &$parameters): void
8585 $ container = $ this ->containerFactory ->buildContainer ((int )$ row ['tx_container_parent ' ]);
8686 $ cType = $ container ->getCType ();
8787 $ items [] = [
88- $ cType ,
88+ $ this -> tcaRegistry -> getContainerLabel ( $ cType) ,
8989 $ row ['tx_container_parent ' ],
9090 ];
9191 } catch (Exception $ e ) {
Original file line number Diff line number Diff line change @@ -206,6 +206,11 @@ public function getGridLayoutPaths(string $cType): array
206206 return $ GLOBALS ['TCA ' ]['tt_content ' ]['containerConfiguration ' ][$ cType ]['gridLayoutPaths ' ] ?? [];
207207 }
208208
209+ public function getContainerLabel (string $ cType ): string
210+ {
211+ return $ GLOBALS ['TCA ' ]['tt_content ' ]['containerConfiguration ' ][$ cType ]['label ' ] ?? $ cType ;
212+ }
213+
209214 public function getColPosName (string $ cType , int $ colPos ): ?string
210215 {
211216 $ grid = $ this ->getGrid ($ cType );
You can’t perform that action at this time.
0 commit comments