You are here

public function LPManagedContent::getLearningPathContentTypeId in Opigno Learning path 8

Same name and namespace in other branches
  1. 3.x src/Entity/LPManagedContent.php \Drupal\opigno_learning_path\Entity\LPManagedContent::getLearningPathContentTypeId()

Returns learning path content type plugin ID.

1 call to LPManagedContent::getLearningPathContentTypeId()
LPManagedContent::getLearningPathContentType in src/Entity/LPManagedContent.php
Get the content type object of this content.

File

src/Entity/LPManagedContent.php, line 121

Class

LPManagedContent
Defines the Learning Path Content entity.

Namespace

Drupal\opigno_learning_path\Entity

Code

public function getLearningPathContentTypeId() {
  return $this
    ->get('lp_content_type_id')->value;
}