You are here

public function OpignoGroupManagedLink::getRequiredActivities 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::getRequiredActivities()

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

Return value

mixed The required activities ids array.

File

src/Entity/OpignoGroupManagedLink.php, line 233

Class

OpignoGroupManagedLink
Defines the Opigno Group Link entity.

Namespace

Drupal\opigno_group_manager\Entity

Code

public function getRequiredActivities() {
  return unserialize($this
    ->get('required_activities')->value);
}