class UpdateTestArchiver
Same name in other branches
- 9 core/modules/update/tests/modules/update_test/src/Plugin/Archiver/UpdateTestArchiver.php \Drupal\update_test\Plugin\Archiver\UpdateTestArchiver
- 8.9.x core/modules/update/tests/modules/update_test/src/Plugin/Archiver/UpdateTestArchiver.php \Drupal\update_test\Plugin\Archiver\UpdateTestArchiver
- 10 core/modules/update/tests/modules/update_test/src/Plugin/Archiver/UpdateTestArchiver.php \Drupal\update_test\Plugin\Archiver\UpdateTestArchiver
Defines a test archiver implementation.
Hierarchy
- class \Drupal\update_test\Plugin\Archiver\UpdateTestArchiver implements \Drupal\Core\Archiver\ArchiverInterface
Expanded class hierarchy of UpdateTestArchiver
File
-
core/
modules/ update/ tests/ modules/ update_test/ src/ Plugin/ Archiver/ UpdateTestArchiver.php, line 14
Namespace
Drupal\update_test\Plugin\ArchiverView source
class UpdateTestArchiver implements ArchiverInterface {
/**
* {@inheritdoc}
*/
public function add($file_path) {
return $this;
}
/**
* {@inheritdoc}
*/
public function remove($path) {
return $this;
}
/**
* {@inheritdoc}
*/
public function extract($path, array $files = []) {
return $this;
}
/**
* {@inheritdoc}
*/
public function listContents() {
return [];
}
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overriden Title |
---|---|---|---|---|
UpdateTestArchiver::add | public | function | Overrides ArchiverInterface::add | |
UpdateTestArchiver::extract | public | function | Overrides ArchiverInterface::extract | |
UpdateTestArchiver::listContents | public | function | Overrides ArchiverInterface::listContents | |
UpdateTestArchiver::remove | public | function | Overrides ArchiverInterface::remove |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.