Shortcut::getTitle

public 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 55

Class

Shortcut
Defines the shortcut entity class.

Namespace

Drupal\shortcut\Entity

Code

public function getTitle() {
  return $this->get('title')->value;
}
doc_Drupal
2016-10-29 09:42:25
Comments
Leave a Comment

Please login to continue.