You are here

public function ShortcutSetStorageInterface::countAssignedUsers in Drupal 9

Same name and namespace in other branches
  1. 8 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 66

Class

ShortcutSetStorageInterface
Defines an interface for shortcut_set entity storage classes.

Namespace

Drupal\shortcut

Code

public function countAssignedUsers(ShortcutSetInterface $shortcut_set);