public function ResourceException::getData in Drupal 10
Same name and namespace in other branches
- 8 core/modules/media/src/OEmbed/ResourceException.php \Drupal\media\OEmbed\ResourceException::getData()
- 9 core/modules/media/src/OEmbed/ResourceException.php \Drupal\media\OEmbed\ResourceException::getData()
Gets the raw resource data, if available.
Return value
array The resource data.
File
- core/
modules/ media/ src/ OEmbed/ ResourceException.php, line 63
Class
- ResourceException
- Exception thrown if an oEmbed resource cannot be fetched or parsed.
Namespace
Drupal\media\OEmbedCode
public function getData() {
return $this->data;
}