You are here

public function OpignoGroupManagedContent::setEntityId in Opigno group manager 8

Same name and namespace in other branches
  1. 3.x src/Entity/OpignoGroupManagedContent.php \Drupal\opigno_group_manager\Entity\OpignoGroupManagedContent::setEntityId()

Sets entity ID.

Parameters

int $entity_id: The drupal entity ID.

Return value

$this

File

src/Entity/OpignoGroupManagedContent.php, line 171

Class

OpignoGroupManagedContent
Defines the Opigno Group Content entity.

Namespace

Drupal\opigno_group_manager\Entity

Code

public function setEntityId($entity_id) {
  $this
    ->set('entity_id', $entity_id);
  return $this;
}