public function ShortcutSetInterface::getShortcuts in Drupal 10
Same name and namespace in other branches
- 8 core/modules/shortcut/src/ShortcutSetInterface.php \Drupal\shortcut\ShortcutSetInterface::getShortcuts()
- 9 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\shortcutCode
public function getShortcuts();