public function LPManagedContent::setEntityId in Opigno Learning path 3.x
Same name and namespace in other branches
- 8 src/Entity/LPManagedContent.php \Drupal\opigno_learning_path\Entity\LPManagedContent::setEntityId()
Sets entity ID.
File
- src/
Entity/ LPManagedContent.php, line 143
Class
- LPManagedContent
- Defines the Learning Path Content entity.
Namespace
Drupal\opigno_learning_path\EntityCode
public function setEntityId($entity_id) {
$this
->set('entity_id', $entity_id);
return $this;
}