Function __global->block_installed
Definitions
sources/zones.php
- Check to see if a block is installed.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: bool
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $block | ID_TEXT | No | No | required parameter | N/A | N/A | The module name |
Returns
- Whether it is
- Type: boolean
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Check to see if a block is installed.
*
* @param ID_TEXT $block The module name
* @return boolean Whether it is
*/
function block_installed(string $block) : bool
* Check to see if a block is installed.
*
* @param ID_TEXT $block The module name
* @return boolean Whether it is
*/
function block_installed(string $block) : bool

