Function __global->enumerate_predefined_content
Definitions
sources/content2.php
- Find available predefined content, and what is installed.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: array
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $addon | string | No | No | required parameter | N/A | N/A | Addon to do for |
Returns
- A map of available predefined content codenames, and details (if installed, and title)
- Type: array
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Find available predefined content, and what is installed.
*
* @param string $addon Addon to do for
* @return array A map of available predefined content codenames, and details (if installed, and title)
*/
function enumerate_predefined_content(string $addon) : array
* Find available predefined content, and what is installed.
*
* @param string $addon Addon to do for
* @return array A map of available predefined content codenames, and details (if installed, and title)
*/
function enumerate_predefined_content(string $addon) : array

