You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Gizra#242 Remove og_ui dependency, replace defines with OgAccess class and its consts, also in the whole module.
* Gizra#242 Grammar issue is fixed.
* Gizra#242 Introduce service injection and replace t() with the injected one.
* Gizra#242 PHPCS fixes.
@@ -59,8 +64,8 @@ public function formAlter(array &$form, FormStateInterface $form_state) {
59
64
60
65
$form['og']['og_enable_access'] = [
61
66
'#type' => 'checkbox',
62
-
'#title' => t('Restrict access to group members'),
63
-
'#description' => t('Enable OG access control. Provides a new field that determines the group/group content visibility. Public groups can have member-only content. Any public group content belonging to a private group will be restricted to the members of that group only.'),
67
+
'#title' => $this->t('Restrict access to group members'),
68
+
'#description' => $this->t('Enable OG access control. Provides a new field that determines the group/group content visibility. Public groups can have member-only content. Any public group content belonging to a private group will be restricted to the members of that group only.'),
0 commit comments