You are here

public static function LPResult::loadByProperties in Opigno Learning path 3.x

Same name and namespace in other branches
  1. 8 src/Entity/LPResult.php \Drupal\opigno_learning_path\Entity\LPResult::loadByProperties()

Loads LP Result by properties.

1 call to LPResult::loadByProperties()
LPResult::loadByLearningPath in src/Entity/LPResult.php
Loads LP Result by LP.

File

src/Entity/LPResult.php, line 248

Class

LPResult
Defines the Learning Path Content entity.

Namespace

Drupal\opigno_learning_path\Entity

Code

public static function loadByProperties($properties) {
  return \Drupal::entityTypeManager()
    ->getStorage('learning_path_result')
    ->loadByProperties($properties);
}