Common.php in AmazonS3 7.2
Same filename in this branch
Namespace
Drupal\amazons3\DrupalAdapterFile
src/DrupalAdapter/Common.phpView 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);
}
}