You are here

PublicS3fsStream.php in S3 File System 8.2

File

src/StreamWrapper/PublicS3fsStream.php
View source
<?php

namespace Drupal\s3fs\StreamWrapper;


/**
 * Defines a Drupal s3fs stream wrapper class for use with public scheme
 * (public://).
 *
 * Provides support for storing files on the amazon s3 file system with the
 * Drupal file interface.
 */
class PublicS3fsStream extends S3fsStream {

  /**
   * {@inheritdoc}
   */
  public function getName() {
    return $this
      ->t('Public files (s3fs)');
  }

  /**
   * {@inheritdoc}
   */
  public function getDescription() {
    return $this
      ->t('Public files served from Amazon S3.');
  }

}

Classes

Namesort descending Description
PublicS3fsStream Defines a Drupal s3fs stream wrapper class for use with public scheme (public://).