Function __global->get_addon_install_writable_paths

Definitions

sources/addons2.php

  • Find what paths need to be writable for an addon to install.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: array

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$file string No No required parameter N/A N/A Name of the addon TAR file

Returns

  • List of paths that need to be writable
  • Type: array
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Find what paths need to be writable for an addon to install.
 *
 * @param  string $file Name of the addon TAR file
 * @return array List of paths that need to be writable
 */

function get_addon_install_writable_paths(string $file) : array