private function prepareAutocompleteAttributeCollection()
    {
        $storeId = $this->storeManager->getStore()->getId();

        $this->autocompleteAttributeCollection->addStoreLabel($storeId)
            ->addFieldToFilter('is_displayed_in_autocomplete', true)
            ->load();

        return $this;
    }
private function prepareAutocompleteAttributeCollection()
    {
        $storeId = $this->storeManager->getStore()->getId();

        $this->autocompleteAttributeCollection->addStoreLabel($storeId)
            ->addFieldToFilter('is_displayed_in_autocomplete', true)
            ->load();

        return $this;
    }
private function prepareAutocompleteAttributeCollection ( ) { $ storeId = $ this -> storeManager -> getStore ( ) -> getId ( ) ; $ this -> autocompleteAttributeCollection -> addStoreLabel ( $ storeId ) -> addFieldToFilter ( 'is_displayed_in_autocomplete' , true ) -> load ( ) ; return $ this ; }
Init the list of attribute displayed in autocomplete.

@return $this
Init the list of attribute displayed in autocomplete .