Entity/FormFieldTranslation.php
public function setOptions($options)
    {
        if (is_array($options)) {
            $options = json_encode($options);
        }

        $this->options = $options;

        return $this;
    }
public function setOptions($options)
    {
        if (is_array($options)) {
            $options = json_encode($options);
        }

        $this->options = $options;

        return $this;
    }
@param array $options

@return $this