Function Hook_media_rendering_oembed->get_oembed_data_result
Definitions
sources/hooks/systems/media_rendering/oembed.php
- Do an oEmbed lookup.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: array
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$url | URLPATH | required parameter | N/A | N/A | URL to render |
$attributes | array | required parameter | N/A | N/A | Attributes (e.g. width, height) |
Return
- Fully parsed/validated oEmbed result (null: fail)
- Type: ?array
- Set: N/A
- Range: N/A