private function addAutocompleteFields(Fieldset $fieldset)
    {
        $fieldset->addField(
            'is_displayed_in_autocomplete',
            'select',
            [
                'name'   => 'is_displayed_in_autocomplete',
                'label'  => __('Display in autocomplete'),
                'values' => $this->booleanSource->toOptionArray(),
            ],
            'is_used_in_spellcheck'
        );

        return $this;
    }
private function addAutocompleteFields(Fieldset $fieldset)
    {
        $fieldset->addField(
            'is_displayed_in_autocomplete',
            'select',
            [
                'name'   => 'is_displayed_in_autocomplete',
                'label'  => __('Display in autocomplete'),
                'values' => $this->booleanSource->toOptionArray(),
            ],
            'is_used_in_spellcheck'
        );

        return $this;
    }
private function addAutocompleteFields ( Fieldset $ fieldset ) { $ fieldset -> addField ( 'is_displayed_in_autocomplete' , 'select' , [ 'name' => 'is_displayed_in_autocomplete' , 'label' => __ ( 'Display in autocomplete' ) , 'values' => $ this -> booleanSource -> toOptionArray ( ) , ] , 'is_used_in_spellcheck' ) ; return $ this ; }
Append autocomplete related fields.

@param Fieldset $fieldset Target fieldset

@return FrontPlugin
Append autocomplete related fields .