diff --git a/core/modules/file/file.module b/core/modules/file/file.module
index ee12a41..d265ba4 100644
--- a/core/modules/file/file.module
+++ b/core/modules/file/file.module
@@ -1495,24 +1495,3 @@ function file_get_file_references(FileInterface $file, FieldDefinitionInterface
   }
   return $return;
 }
-
-/**
- * Formats human-readable version of file status.
- *
- * @param int $choice
- *   integer Status code.
- * @return string
- *   string Text-represented file status.
- */
-function _views_file_status($choice = NULL) {
-  $status = array(
-    0 => t('Temporary'),
-    FILE_STATUS_PERMANENT => t('Permanent'),
-  );
-
-  if (isset($choice)) {
-    return isset($status[$choice]) ? $status[$choice] : t('Unknown');
-  }
-
-  return $status;
-}
diff --git a/core/modules/file/src/Plugin/views/filter/Status.php b/core/modules/file/src/Plugin/views/filter/Status.php
index d28cf94..0e29ee3 100644
--- a/core/modules/file/src/Plugin/views/filter/Status.php
+++ b/core/modules/file/src/Plugin/views/filter/Status.php
@@ -18,10 +18,17 @@
  */
 class Status extends InOperator {
 
+  /**
+   * {@inheritdoc}
+   */
   public function getValueOptions() {
     if (!isset($this->valueOptions)) {
-      $this->valueOptions = _views_file_status();
+      $this->valueOptions = array(
+        0 => t('Temporary'),
+        FILE_STATUS_PERMANENT => t('Permanent'),
+      );
     }
+    return $this->valueOptions;
   }
 
 }
