You are here

public function ShortcutSetInterface::getShortcuts in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/shortcut/src/ShortcutSetInterface.php \Drupal\shortcut\ShortcutSetInterface::getShortcuts()
  2. 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\shortcut

Code

public function getShortcuts();