You are here

public function ContentTypeInterface::getUserScore in Opigno group manager 8

Same name and namespace in other branches
  1. 3.x src/ContentTypeInterface.php \Drupal\opigno_group_manager\ContentTypeInterface::getUserScore()

Get the score of the user for a specific entity.

Parameters

int $user_id: The user ID.

int $entity_id: The entity ID.

Return value

float|false The score between 0 and 1. FALSE if no score found.

File

src/ContentTypeInterface.php, line 35

Class

ContentTypeInterface
Interface ContentTypeInterface.

Namespace

Drupal\opigno_group_manager

Code

public function getUserScore($user_id, $entity_id);