src/Attribute/TranslatedCheckbox.php
public function getTranslatedDataFor($arrIds, $strLangCode)
    {
        $arrReturn = parent::getTranslatedDataFor($arrIds, $strLangCode);

        // Per definition:
        // - all values that are not contained are defaulting to false in the fallback language.
        // - all values in published not contained are defaulting to false.
        if ($this->isFixingOfValuesNeeded($arrReturn, $arrIds, $strLangCode)) {
            foreach (array_diff($arrIds, array_keys($arrReturn)) as $itemId) {
                $arrReturn[$itemId] = $this->widgetToValue(false, $itemId);
            }
        }

        return $arrReturn;
    }
public function getTranslatedDataFor($arrIds, $strLangCode)
    {
        $arrReturn = parent::getTranslatedDataFor($arrIds, $strLangCode);

        // Per definition:
        // - all values that are not contained are defaulting to false in the fallback language.
        // - all values in published not contained are defaulting to false.
        if ($this->isFixingOfValuesNeeded($arrReturn, $arrIds, $strLangCode)) {
            foreach (array_diff($arrIds, array_keys($arrReturn)) as $itemId) {
                $arrReturn[$itemId] = $this->widgetToValue(false, $itemId);
            }
        }

        return $arrReturn;
    }
{@inheritDoc}