function ResourceException::getData
Same name in other branches
- 9 core/modules/media/src/OEmbed/ResourceException.php \Drupal\media\OEmbed\ResourceException::getData()
- 8.9.x core/modules/media/src/OEmbed/ResourceException.php \Drupal\media\OEmbed\ResourceException::getData()
- 10 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;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.