protected function isFieldValueBeDerivableFromListParent($field)
    {
        if ( ! $this->hasActiveListParent()) {
            return false;
        }

        $listParentData = $this->getListParentDataForRelation($this->listParentRelation);

        if ( ! $listParentData) {
            return false;
        }

        return $field == $listParentData->field();
    }
protected function isFieldValueBeDerivableFromListParent($field)
    {
        if ( ! $this->hasActiveListParent()) {
            return false;
        }

        $listParentData = $this->getListParentDataForRelation($this->listParentRelation);

        if ( ! $listParentData) {
            return false;
        }

        return $field == $listParentData->field();
    }
protected function isFieldValueBeDerivableFromListParent ( $ field ) { if ( ! $ this -> hasActiveListParent ( ) ) { return false ; } $ listParentData = $ this -> getListParentDataForRelation ( $ this -> listParentRelation ) ; if ( ! $ listParentData ) { return false ; } return $ field == $ listParentData -> field ( ) ; }
Returns whether the set list parent corresponds to a given field key.

@param string $field
@return bool
Returns whether the set list parent corresponds to a given field key .