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];
}