You are here

public static function Common::drupal_encode_path in AmazonS3 7.2

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

Parameters

$path:

Return value

mixed

1 call to Common::drupal_encode_path()
Common::url in tests/DrupalAdapter/Common.php

File

tests/DrupalAdapter/Common.php, line 113

Class

Common
Methods that map to includes/common.inc.

Namespace

Drupal\amazons3Test\DrupalAdapter

Code

public static function drupal_encode_path($path) {
  return str_replace('%2F', '/', rawurlencode($path));
}