function LinkItemInterface::getTitle
Same name in other branches
- 10 core/modules/link/src/LinkItemInterface.php \Drupal\link\LinkItemInterface::getTitle()
Gets the link title.
Return value
string|null Returns the link title.
1 method overrides LinkItemInterface::getTitle()
- LinkItem::getTitle in core/
modules/ link/ src/ Plugin/ Field/ FieldType/ LinkItem.php - Gets the link title.
File
-
core/
modules/ link/ src/ LinkItemInterface.php, line 52
Class
- LinkItemInterface
- Defines an interface for the link field item.
Namespace
Drupal\linkCode
public function getTitle() : ?string;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.