You are here

public function LPManagedContent::setLearningPathContentTypeId in Opigno Learning path 3.x

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

Sets learning path content type plugin ID.

File

src/Entity/LPManagedContent.php, line 128

Class

LPManagedContent
Defines the Learning Path Content entity.

Namespace

Drupal\opigno_learning_path\Entity

Code

public function setLearningPathContentTypeId($lp_content_type_id) {
  $this
    ->set('lp_content_type_id', $lp_content_type_id);
  return $this;
}