You are here

public function OpignoGroupManagedLink::setRequiredActivities in Opigno group manager 8

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

Sets required activities to go from parent content to child content.

Parameters

string $required_activities: The required activities ids array.

Return value

$this

File

src/Entity/OpignoGroupManagedLink.php, line 245

Class

OpignoGroupManagedLink
Defines the Opigno Group Link entity.

Namespace

Drupal\opigno_group_manager\Entity

Code

public function setRequiredActivities($required_activities) {
  $this
    ->set('required_activities', $required_activities);
  return $this;
}