You are here

public function Resource::getAuthorName in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/media/src/OEmbed/Resource.php \Drupal\media\OEmbed\Resource::getAuthorName()
  2. 9 core/modules/media/src/OEmbed/Resource.php \Drupal\media\OEmbed\Resource::getAuthorName()

Returns the name of the resource author.

Return value

string|null The name of the resource author, if known.

File

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

Class

Resource
Value object representing an oEmbed resource.

Namespace

Drupal\media\OEmbed

Code

public function getAuthorName() {
  return $this->authorName;
}