Jarves\Admin\FieldTypes\TypeObject::getSelection PHP Method

getSelection() public method

Returns the field names to select from the object model as array.
public getSelection ( ) : string[]
return string[]
    public function getSelection()
    {
        $selection = [];
        $selection[] = $this->getFieldDefinition()->getId();
        return $selection;
    }