Skip to content
Snippets Groups Projects

Issue #3476470 by bluegeek9: Remove Field Group module dependency

Merged Steven Ayers requested to merge issue/knowledge-3476470:3476470-approval-link into 8.x-1.x
1 file
+ 1
0
Compare changes
  • Side-by-side
  • Inline
@@ -106,6 +106,7 @@ class CompetencyApprove extends FieldPluginBase {
$role_id = $competency->isPending();
if ($role_id) {
$role = $this->competencyService->getPromotionRole($role_id);
$role = $this->entityTypeManager->getStorage('user_role')->load($role);
$text = $this->t('Promote to @role', ['@role' => $role->label()]);
$current_url = Url::fromUri("internal:$current_path")->toString();
$url = Url::fromRoute(
Loading