public function WebformExporterInterface::addToArchive in Webform 8.5
Same name and namespace in other branches
- 6.x src/Plugin/WebformExporterInterface.php \Drupal\webform\Plugin\WebformExporterInterface::addToArchive()
Add file, directory, or content to exporter archive.
Parameters
string $path: System path or file content.
string $name: Archive path or file name (applies to file content).
array $options: Tar and zip options.
1 method overrides WebformExporterInterface::addToArchive()
- WebformExporterBase::addToArchive in src/
Plugin/ WebformExporterBase.php - Add file, directory, or content to exporter archive.
File
- src/
Plugin/ WebformExporterInterface.php, line 214
Class
- WebformExporterInterface
- Defines the interface for results exporters.
Namespace
Drupal\webform\PluginCode
public function addToArchive($path, $name, array $options = []);