You are here

public function ResourceException::getData in Drupal 9

Same name and namespace in other branches
  1. 8 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\OEmbed

Code

public function getData() {
  return $this->data;
}