Function Hook_Health_Check->get_embed_urls_from_data
Definitions
sources/health_check.php
- Get all the embedded URLs in some HTML.
- Visibility: protected
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: array
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $data | string | No | No | required parameter | N/A | N/A | HTML |
Returns
- List of URLs
- Type: array
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Get all the embedded URLs in some HTML.
*
* @param string $data HTML
* @return array List of URLs
*/
protected function get_embed_urls_from_data(string $data) : array
* Get all the embedded URLs in some HTML.
*
* @param string $data HTML
* @return array List of URLs
*/
protected function get_embed_urls_from_data(string $data) : array

