File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
Resources/Private/Templates/Page Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 77class PageController extends \FluidTYPO3 \Flux \Controller \PageController
88{
99 /**
10+ * @param string $value
1011 * @return void
1112 */
12- public function standardAction ()
13+ public function standardAction (? string $ value = null )
1314 {
14-
15+ $ this -> view -> assign ( ' value ' , $ value );
1516 }
1617}
Original file line number Diff line number Diff line change 2929< f:section name ="Main ">
3030 < f:cObject typoscriptObjectPath ="lib.default_menu " />
3131 < f:cObject typoscriptObjectPath ="lib.default_content " />
32+ < h4 > Argument passed to controller</ h4 >
33+ < p > < f:link .action action ="standard " arguments ="{value: 'A value'} "> Pass value to controller</ f:link .action> </ p >
34+ < p > {value}</ p >
3235</ f:section >
You can’t perform that action at this time.
0 commit comments