You are here

trait Common in AmazonS3 7.2

Same name in this branch
  1. 7.2 tests/DrupalAdapter/Common.php \Drupal\amazons3Test\DrupalAdapter\Common
  2. 7.2 src/DrupalAdapter/Common.php \Drupal\amazons3\DrupalAdapter\Common

Methods that map to includes/common.inc.

@trait Common @package Drupal\amazons3\DrupalAdapter @codeCoverageIgnore

Hierarchy

  • trait \Drupal\amazons3\DrupalAdapter\Common

File

src/DrupalAdapter/Common.php, line 12

Namespace

Drupal\amazons3\DrupalAdapter
View source
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);
  }

}

Members

Namesort descending Modifiers Type Description Overrides
Common::drupal_encode_path public static function
Common::url public static function