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
BannerBundle
Controller
BannerZoneController
viewComponentAction
Elcodi\Admin\BannerBundle\Controller\BannerZoneController::viewComponentAction PHP Method
BannerZoneController 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\Banner\Entity\Interfaces\BannerZoneInterface
$entity
) :
array
$entity
Elcodi\Component\Banner\Entity\Interfaces\BannerZoneInterface
Entity to view
return
array
Result
public function viewComponentAction(BannerZoneInterface $entity) { return ['entity' => $entity]; }
BannerZoneController
deleteAction
disableAction
editAction
editComponentAction
enableAction
listAction
listComponentAction
newAction
newComponentAction
saveAction
updateAction
viewAction
viewComponentAction