public static function OpignoGroupContext::rebuildActions in Opigno group manager 8
Same name and namespace in other branches
- 3.x src/OpignoGroupContext.php \Drupal\opigno_group_manager\OpignoGroupContext::rebuildActions()
Refresh the local actions.
3 calls to OpignoGroupContext::rebuildActions()
- OpignoGroupContext::removeActivityLinkType in src/
OpignoGroupContext.php - Removes the context activity answer link type.
- OpignoGroupContext::removeContext in src/
OpignoGroupContext.php - Remove all the context variables.
- OpignoGroupContext::setCurrentContentId in src/
OpignoGroupContext.php - Set the context Learning Path Content ID.
File
- src/
OpignoGroupContext.php, line 173
Class
- OpignoGroupContext
- This class manage the context when a user enters or exits a Learning Path.
Namespace
Drupal\opigno_group_managerCode
public static function rebuildActions() {
// @todo: this should be a global cache context if neceessary.
$bins = Cache::getBins();
$bins['render']
->invalidateAll();
}