Пример #1
0
 /**
  * Determines if a shortcut set exists already.
  *
  * @param string $id
  *   The set ID to check.
  *
  * @return bool
  *   TRUE if the shortcut set exists, FALSE otherwise.
  */
 public function exists($id)
 {
     return (bool) $this->shortcutSetStorage->getQuery()->condition('id', $id)->execute();
 }