public function customAttributes()
    {
        if (!$form = $this->distributor->form(null, $this->resourceName())){
            return [];
        }

        return $form->getValidator()->buildAttributeNames($form);
    }
public function customAttributes()
    {
        if (!$form = $this->distributor->form(null, $this->resourceName())){
            return [];
        }

        return $form->getValidator()->buildAttributeNames($form);
    }
public function customAttributes ( ) { if ( ! $ form = $ this -> distributor -> form ( null , $ this -> resourceName ( ) ) ) { return [ ] ; } return $ form -> getValidator ( ) -> buildAttributeNames ( $ form ) ; }
Set custom attributes for validator errors.

@return array
Set custom attributes for validator errors .