// Verify if there is a equal sign on attribute key.
$equal_sign_found=strpos($attribute_key,'=');
if($equal_sign_found!==FALSE){
$form_state->setErrorByName('multiple_attributes][third_party_settings][block_class][attribute_'.$index.'][attribute_key_'.$index,$this->t("Ins't necessary add = sign. You can use the key and value fields"));
// Verify if there is a equal sign on attribute value.
$equal_sign_found=strpos($attribute_value,'=');
if($equal_sign_found!==FALSE){
$form_state->setErrorByName('multiple_attributes][third_party_settings][block_class][attribute_'.$index.'][attribute_value_'.$index,$this->t("Ins't necessary add = sign. You can use the key and value fields"));