src/Contao/View/Contao2BackendView/ActionHandler/ParentedListViewShowAllHandler.php
private function renderForCheckbox(PropertyInterface $property, $value, &$isRendered)
    {
        $evaluation = $property->getExtra();

        if ((true === $isRendered) || $evaluation['multiple'] || !('checkbox' === $property->getWidgetType())) {
            return $value;
        }

        $isRendered = true;

        return !empty($value)
            ? $this->translate('MSC.yes', 'contao_default')
            : $this->translate('MSC.no', 'contao_default');
    }
private function renderForCheckbox(PropertyInterface $property, $value, &$isRendered)
    {
        $evaluation = $property->getExtra();

        if ((true === $isRendered) || $evaluation['multiple'] || !('checkbox' === $property->getWidgetType())) {
            return $value;
        }

        $isRendered = true;

        return !empty($value)
            ? $this->translate('MSC.yes', 'contao_default')
            : $this->translate('MSC.no', 'contao_default');
    }
private function renderForCheckbox ( PropertyInterface $ property , $ value , & $ isRendered ) { $ evaluation = $ property -> getExtra ( ) ; if ( ( true === $ isRendered ) || $ evaluation [ 'multiple' ] || ! ( 'checkbox' === $ property -> getWidgetType ( ) ) ) { return $ value ; } $ isRendered = true ; return ! empty ( $ value ) ? $ this -> translate ( 'MSC.yes' , 'contao_default' ) : $ this -> translate ( 'MSC.no' , 'contao_default' ) ; }
Render for checkbox.

@param PropertyInterface $property   The property.
@param mixed             $value      The value.
@param boolean           $isRendered Determine if is rendered.

@return mixed
Render for checkbox .