You are here

public function LearningPathContent::setEntityType in Opigno Learning path 8

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

Sets entity type.

Parameters

string $entity_type: Entity type.

1 call to LearningPathContent::setEntityType()
LearningPathContent::__construct in src/LearningPathContent.php
LearningPathContent constructor.

File

src/LearningPathContent.php, line 110

Class

LearningPathContent
Class LearningPathContent.

Namespace

Drupal\opigno_learning_path

Code

public function setEntityType($entity_type) {
  $this->entityType = $entity_type;
}