Skip to content
Snippets Groups Projects
Commit 1223bf3d authored by Steven Ayers's avatar Steven Ayers
Browse files

Issue #3476470: Remove 'Field Group' module dependency

parent 4b17b33b
Branches 1.0.x
1 merge request!12Issue #3476470 by bluegeek9: Remove Field Group module dependency
Pipeline #332296 failed
......@@ -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(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment