function ShortcutSetStorageInterface::countAssignedUsers
Same name in other branches
- 9 core/modules/shortcut/src/ShortcutSetStorageInterface.php \Drupal\shortcut\ShortcutSetStorageInterface::countAssignedUsers()
- 8.9.x core/modules/shortcut/src/ShortcutSetStorageInterface.php \Drupal\shortcut\ShortcutSetStorageInterface::countAssignedUsers()
- 11.x core/modules/shortcut/src/ShortcutSetStorageInterface.php \Drupal\shortcut\ShortcutSetStorageInterface::countAssignedUsers()
Get the number of users who have this set assigned to them.
Parameters
\Drupal\shortcut\ShortcutSetInterface $shortcut_set: The shortcut to count the users assigned to.
Return value
int The number of users who have this set assigned to them.
1 method overrides ShortcutSetStorageInterface::countAssignedUsers()
- ShortcutSetStorage::countAssignedUsers in core/
modules/ shortcut/ src/ ShortcutSetStorage.php - Get the number of users who have this set assigned to them.
File
-
core/
modules/ shortcut/ src/ ShortcutSetStorageInterface.php, line 77
Class
- ShortcutSetStorageInterface
- Defines an interface for shortcut_set entity storage classes.
Namespace
Drupal\shortcutCode
public function countAssignedUsers(ShortcutSetInterface $shortcut_set);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.