function PhpStreamWrapperInterface::rename

Same name in other branches
  1. 9 core/lib/Drupal/Core/StreamWrapper/PhpStreamWrapperInterface.php \Drupal\Core\StreamWrapper\PhpStreamWrapperInterface::rename()
  2. 10 core/lib/Drupal/Core/StreamWrapper/PhpStreamWrapperInterface.php \Drupal\Core\StreamWrapper\PhpStreamWrapperInterface::rename()
  3. 11.x core/lib/Drupal/Core/StreamWrapper/PhpStreamWrapperInterface.php \Drupal\Core\StreamWrapper\PhpStreamWrapperInterface::rename()

Return value

bool

2 methods override PhpStreamWrapperInterface::rename()
LocalStream::rename in core/lib/Drupal/Core/StreamWrapper/LocalStream.php
Support for rename().
ReadOnlyStream::rename in core/lib/Drupal/Core/StreamWrapper/ReadOnlyStream.php
Support for rename().

File

core/lib/Drupal/Core/StreamWrapper/PhpStreamWrapperInterface.php, line 40

Class

PhpStreamWrapperInterface
Defines a generic PHP stream wrapper interface.

Namespace

Drupal\Core\StreamWrapper

Code

public function rename($path_from, $path_to);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.