function ShortcutInterface::setTitle
Same name in other branches
- 9 core/modules/shortcut/src/ShortcutInterface.php \Drupal\shortcut\ShortcutInterface::setTitle()
- 8.9.x core/modules/shortcut/src/ShortcutInterface.php \Drupal\shortcut\ShortcutInterface::setTitle()
- 10 core/modules/shortcut/src/ShortcutInterface.php \Drupal\shortcut\ShortcutInterface::setTitle()
Sets the title of this shortcut.
Parameters
string $title: The title of this shortcut.
Return value
$this The called shortcut entity.
1 method overrides ShortcutInterface::setTitle()
- Shortcut::setTitle in core/
modules/ shortcut/ src/ Entity/ Shortcut.php
File
-
core/
modules/ shortcut/ src/ ShortcutInterface.php, line 29
Class
- ShortcutInterface
- Provides an interface defining a shortcut entity.
Namespace
Drupal\shortcutCode
public function setTitle($title);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.