public function listGetWidget($definition = null)
    {
        if (!$definition) {
            $definition = $this->primaryDefinition;
        }

        return array_get($this->listWidgets, $definition);
    }
public function listGetWidget($definition = null)
    {
        if (!$definition) {
            $definition = $this->primaryDefinition;
        }

        return array_get($this->listWidgets, $definition);
    }
public function listGetWidget ( $ definition = null ) { if ( ! $ definition ) { $ definition = $ this -> primaryDefinition ; } return array_get ( $ this -> listWidgets , $ definition ) ; }
Returns the widget used by this behavior.
@return \Backend\Classes\WidgetBase
Returns the widget used by this behavior .