You are here

Common.php in AmazonS3 7.2

File

src/DrupalAdapter/Common.php
View source
<?php

namespace Drupal\amazons3\DrupalAdapter;


/**
 * Methods that map to includes/common.inc.
 *
 * @trait Common
 * @package Drupal\amazons3\DrupalAdapter
 * @codeCoverageIgnore
 */
trait Common {

  /**
   * @param string $path
   * @param array $options
   * @return string
   */
  public static function url($path = NULL, $options = array()) {
    return url($path, $options);
  }

  /**
   * @param $path
   * @return mixed
   */
  public static function drupal_encode_path($path) {
    return drupal_encode_path($path);
  }

}

Traits

Namesort descending Description
Common Methods that map to includes/common.inc.