function Resource::getTitle

Returns the title of the resource.

Return value

string|null The title of the resource, if known.

File

core/modules/media/src/OEmbed/Resource.php, line 375

Class

Resource
Value object representing an oEmbed resource.

Namespace

Drupal\media\OEmbed

Code

public function getTitle() {
  return $this->title;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.