public function widgetOptions()
    {
        $options = [
            'obj_type'           => $this->obj()->objType(),
            'obj_id'             => $this->obj()->id(),
            'group'              => $this->group(),
            'attachment_options' => $this->attachmentOptions(),
            'attachable_objects' => $this->attachableObjects(),
            'title'              => $this->title(),
            'lang'               => $this->translator()->getLocale()
        ];

        return json_encode($options, true);
    }