function UpdateTestArchiver::add

Same name in other branches
  1. 9 core/modules/update/tests/modules/update_test/src/Plugin/Archiver/UpdateTestArchiver.php \Drupal\update_test\Plugin\Archiver\UpdateTestArchiver::add()
  2. 8.9.x core/modules/update/tests/modules/update_test/src/Plugin/Archiver/UpdateTestArchiver.php \Drupal\update_test\Plugin\Archiver\UpdateTestArchiver::add()
  3. 11.x core/modules/update/tests/modules/update_test/src/Plugin/Archiver/UpdateTestArchiver.php \Drupal\update_test\Plugin\Archiver\UpdateTestArchiver::add()

Overrides ArchiverInterface::add

File

core/modules/update/tests/modules/update_test/src/Plugin/Archiver/UpdateTestArchiver.php, line 23

Class

UpdateTestArchiver
Defines a test archiver implementation.

Namespace

Drupal\update_test\Plugin\Archiver

Code

public function add($file_path) {
    return $this;
}

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