public function aroundSetForm(Front $subject, \Closure $proceed, Form $form)
    {
        $block = $proceed($form);

        $fieldset = $this->createFieldset($form, $subject);

        $this->moveOrginalFields($form);
        $this->addSearchFields($fieldset);
        $this->addAutocompleteFields($fieldset);
        $this->addFacetFields($fieldset);
        $this->addSortFields($fieldset);
        $this->appendSliderDisplayRelatedFields($form, $subject);

        if ($this->getAttribute()->getAttributeCode() == 'name') {
            $form->getElement('is_searchable')->setDisabled(1);
        }

        $this->appendFieldsDependency($subject);

        return $block;
    }
public function aroundSetForm(Front $subject, \Closure $proceed, Form $form)
    {
        $block = $proceed($form);

        $fieldset = $this->createFieldset($form, $subject);

        $this->moveOrginalFields($form);
        $this->addSearchFields($fieldset);
        $this->addAutocompleteFields($fieldset);
        $this->addFacetFields($fieldset);
        $this->addSortFields($fieldset);
        $this->appendSliderDisplayRelatedFields($form, $subject);

        if ($this->getAttribute()->getAttributeCode() == 'name') {
            $form->getElement('is_searchable')->setDisabled(1);
        }

        $this->appendFieldsDependency($subject);

        return $block;
    }
public function aroundSetForm ( Front $ subject , \ Closure $ proceed , Form $ form ) { $ block = $ proceed ( $ form ) ; $ fieldset = $ this -> createFieldset ( $ form , $ subject ) ; $ this -> moveOrginalFields ( $ form ) ; $ this -> addSearchFields ( $ fieldset ) ; $ this -> addAutocompleteFields ( $ fieldset ) ; $ this -> addFacetFields ( $ fieldset ) ; $ this -> addSortFields ( $ fieldset ) ; $ this -> appendSliderDisplayRelatedFields ( $ form , $ subject ) ; if ( $ this -> getAttribute ( ) -> getAttributeCode ( ) == 'name' ) { $ form -> getElement ( 'is_searchable' ) -> setDisabled ( 1 ) ; } $ this -> appendFieldsDependency ( $ subject ) ; return $ block ; }
Append ES specifics fields into the attribute edit store front tab.

@param Front    $subject The StoreFront tab
@param \Closure $proceed The parent function
@param Form     $form    The form

@return Front
Append ES specifics fields into the attribute edit store front tab .