Function Hook_sitemap_base->extract_child_page_link_permission_pair
Definitions
sources/sitemap.php
- Convert a page-link to a category ID and category permission module type.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: array
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $page_link | ID_TEXT | No | No | required parameter | N/A | N/A | The page-link |
Returns
- The pair (null: permission modules not handled)
- Type: ?array
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Convert a page-link to a category ID and category permission module type.
*
* @param ID_TEXT $page_link The page-link
* @return ?array The pair (null: permission modules not handled)
*/
public function extract_child_page_link_permission_pair(string $page_link) : ?array
* Convert a page-link to a category ID and category permission module type.
*
* @param ID_TEXT $page_link The page-link
* @return ?array The pair (null: permission modules not handled)
*/
public function extract_child_page_link_permission_pair(string $page_link) : ?array

