Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Elcodi
Admin
RuleBundle
Controller
RuleController
viewComponentAction
Elcodi\Admin\RuleBundle\Controller\RuleController::viewComponentAction PHP Method
RuleController Class Documentation
Show file
Open project: elcodi/bamboo
viewComponentAction()
public
method
As a component, this action should not return all the html macro, but only the specific component
public
viewComponentAction
(
Elcodi\Component\Rule\Entity\Interfaces\RuleInterface
$entity
) :
array
$entity
Elcodi\Component\Rule\Entity\Interfaces\RuleInterface
Entity to view
return
array
Result
public function viewComponentAction(RuleInterface $entity) { return ['entity' => $entity]; }
RuleController
deleteAction
disableAction
editAction
editComponentAction
enableAction
listAction
listComponentAction
navAction
newAction
newComponentAction
saveAction
updateAction
viewAction
viewComponentAction