RemoteFileStatus.php

Namespace

Drupal\locale\File

File

core/modules/locale/src/File/RemoteFileStatus.php

View source
<?php

namespace Drupal\locale\File;


/**
 * Provides the locale RemoteFileStatus.
 */
enum RemoteFileStatus : int
{
  // The file was found successfully.
  case Success = 1;
  // There was an error retrieving the file.
  case Error = 0;
  // The file was not found.
  case Missing = 404;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.