function ShortcutSetStorageInterface::countAssignedUsers

Same name and namespace in other branches
  1. 8.9.x core/modules/shortcut/src/ShortcutSetStorageInterface.php \Drupal\shortcut\ShortcutSetStorageInterface::countAssignedUsers()
  2. 10 core/modules/shortcut/src/ShortcutSetStorageInterface.php \Drupal\shortcut\ShortcutSetStorageInterface::countAssignedUsers()
  3. 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 66

Class

ShortcutSetStorageInterface
Defines an interface for shortcut_set entity storage classes.

Namespace

Drupal\shortcut

Code

public function countAssignedUsers(ShortcutSetInterface $shortcut_set);

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