function Resource::getAuthorName
Same name in other branches
- 8.9.x core/modules/media/src/OEmbed/Resource.php \Drupal\media\OEmbed\Resource::getAuthorName()
- 10 core/modules/media/src/OEmbed/Resource.php \Drupal\media\OEmbed\Resource::getAuthorName()
- 11.x 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\OEmbedCode
public function getAuthorName() {
return $this->authorName;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.