public function Shortcut::getTitle in Drupal 8
Same name and namespace in other branches
- 9 core/modules/shortcut/src/Entity/Shortcut.php \Drupal\shortcut\Entity\Shortcut::getTitle()
Returns the title of this shortcut.
Return value
string The title of this shortcut.
Overrides ShortcutInterface::getTitle
File
- core/
modules/ shortcut/ src/ Entity/ Shortcut.php, line 62
Class
- Shortcut
- Defines the shortcut entity class.
Namespace
Drupal\shortcut\EntityCode
public function getTitle() {
return $this
->get('title')->value;
}