You are here

public function AcsfMessageResponseRest::failed in Acquia Cloud Site Factory Connector 8

Same name and namespace in other branches
  1. 8.2 src/AcsfMessageResponseRest.php \Drupal\acsf\AcsfMessageResponseRest::failed()

Implements AcsfMessageResponse::failed().

Overrides AcsfMessageResponse::failed

File

src/AcsfMessageResponseRest.php, line 13

Class

AcsfMessageResponseRest
Defines a response from AcsfMessageRest.

Namespace

Drupal\acsf

Code

public function failed() {
  if ($this->code >= 400) {
    return TRUE;
  }
  return FALSE;
}