Function Hook_sitemap_base->check_for_looping
Definitions
sources/sitemap.php
- Make sure a Sitemap page-link is not recursively being evaluated due to some kind of issue (e.g. a cyclic category structure or a bug).
- Visibility: protected
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: bool
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 we are finding |
Returns
- Whether are are okay, not looping
- Type: boolean
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Make sure a Sitemap page-link is not recursively being evaluated due to some kind of issue (e.g. a cyclic category structure or a bug).
*
* @param ID_TEXT $page_link The page-link we are finding
* @return boolean Whether are are okay, not looping
*/
protected function check_for_looping(string $page_link) : bool
* Make sure a Sitemap page-link is not recursively being evaluated due to some kind of issue (e.g. a cyclic category structure or a bug).
*
* @param ID_TEXT $page_link The page-link we are finding
* @return boolean Whether are are okay, not looping
*/
protected function check_for_looping(string $page_link) : bool

