public function PostInstallTrait::getInstallTasks in Group 2.0.x
2 methods override PostInstallTrait::getInstallTasks()
- GroupMembershipPostInstall::getInstallTasks in src/
Plugin/ Group/ RelationHandler/ GroupMembershipPostInstall.php - Retrieves the tasks to run after plugin installation.
- PostInstall::getInstallTasks in src/
Plugin/ Group/ RelationHandlerDefault/ PostInstall.php - Retrieves the tasks to run after plugin installation.
File
- src/
Plugin/ Group/ RelationHandler/ PostInstallTrait.php, line 15
Class
- PostInstallTrait
- Trait for group relation post install handlers.
Namespace
Drupal\group\Plugin\Group\RelationHandlerCode
public function getInstallTasks() {
if (!isset($this->parent)) {
throw new \LogicException('Using PostInstallTrait without assigning a parent or overwriting the methods.');
}
return $this->parent
->getInstallTasks();
}