creocoder\translateable\TranslateableBehavior::canSetProperty PHP Method

canSetProperty() public method

public canSetProperty ( $name, $checkVars = true )
    public function canSetProperty($name, $checkVars = true)
    {
        return in_array($name, $this->translationAttributes) ?: parent::canSetProperty($name, $checkVars);
    }