Bundle/WidgetBundle/Resolver/BaseWidgetContentResolver.php
public function getWidgetBusinessEntityContent(Widget $widget)
    {
        $entity = $widget->getEntity();
        $parameters = $this->getWidgetStaticContent($widget);

        $this->populateParametersWithWidgetFields($widget, $entity, $parameters);

        return $parameters;
    }
public function getWidgetBusinessEntityContent(Widget $widget)
    {
        $entity = $widget->getEntity();
        $parameters = $this->getWidgetStaticContent($widget);

        $this->populateParametersWithWidgetFields($widget, $entity, $parameters);

        return $parameters;
    }
public function getWidgetBusinessEntityContent ( Widget $ widget ) { $ entity = $ widget -> getEntity ( ) ; $ parameters = $ this -> getWidgetStaticContent ( $ widget ) ; $ this -> populateParametersWithWidgetFields ( $ widget , $ entity , $ parameters ) ; return $ parameters ; }
Get the business entity content.

@param Widget $widget

@return string
Get the business entity content .