function ShortcutSetInterface::getShortcuts

Same name in other branches
  1. 9 core/modules/shortcut/src/ShortcutSetInterface.php \Drupal\shortcut\ShortcutSetInterface::getShortcuts()
  2. 10 core/modules/shortcut/src/ShortcutSetInterface.php \Drupal\shortcut\ShortcutSetInterface::getShortcuts()
  3. 11.x core/modules/shortcut/src/ShortcutSetInterface.php \Drupal\shortcut\ShortcutSetInterface::getShortcuts()

Returns all the shortcuts from a shortcut set sorted correctly.

Return value

\Drupal\shortcut\ShortcutInterface[] An array of shortcut entities.

1 method overrides ShortcutSetInterface::getShortcuts()
ShortcutSet::getShortcuts in core/modules/shortcut/src/Entity/ShortcutSet.php
Returns all the shortcuts from a shortcut set sorted correctly.

File

core/modules/shortcut/src/ShortcutSetInterface.php, line 30

Class

ShortcutSetInterface
Provides an interface defining a shortcut set entity.

Namespace

Drupal\shortcut

Code

public function getShortcuts();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.