Function Hook_sitemap_base->_check_node_permissions
Definitions
sources/sitemap.php
- Check the permissions of the node structure, returning false if they fail for the current user.
- Visibility: protected
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: bool
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $struct | array | No | No | required parameter | N/A | N/A | Node structure |
| $options | integer | No | No | required parameter | N/A | N/A | A bitmask of SITEMAP_GEN_* options |
Returns
- Whether the permissions pass
- Type: boolean
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Check the permissions of the node structure, returning false if they fail for the current user.
*
* @param array $struct Node structure
* @param integer $options A bitmask of SITEMAP_GEN_* options
* @return boolean Whether the permissions pass
*/
protected function _check_node_permissions(array $struct, int $options) : bool
* Check the permissions of the node structure, returning false if they fail for the current user.
*
* @param array $struct Node structure
* @param integer $options A bitmask of SITEMAP_GEN_* options
* @return boolean Whether the permissions pass
*/
protected function _check_node_permissions(array $struct, int $options) : bool

