getParameter('oc_actor')->id();
$activity_types = \Drupal::service('entity_type.bundle.info')->getBundleInfo('oc_activity');
$markup = "
";
foreach($activity_types as $id => $info) {
$label = $info['label'];
$markup .= "- $label
";
}
$markup .= "
";
return array('#markup' => $markup);
}
public function getCacheMaxAge():int {
return 0;
}
}