protected function GroupPermissionsForm::getGroupRoles in Group 8
Same name and namespace in other branches
- 2.0.x src/Form/GroupPermissionsForm.php \Drupal\group\Form\GroupPermissionsForm::getGroupRoles()
Gets the group roles to display in this form.
Return value
\Drupal\group\Entity\GroupRoleInterface[] An array of group role objects.
2 calls to GroupPermissionsForm::getGroupRoles()
- GroupPermissionsForm::buildForm in src/
Form/ GroupPermissionsForm.php - Form constructor.
- GroupPermissionsForm::submitForm in src/
Form/ GroupPermissionsForm.php - Form submission handler.
2 methods override GroupPermissionsForm::getGroupRoles()
- GroupPermissionsRoleSpecificForm::getGroupRoles in src/
Form/ GroupPermissionsRoleSpecificForm.php - Gets the group roles to display in this form.
- GroupPermissionsTypeSpecificForm::getGroupRoles in src/
Form/ GroupPermissionsTypeSpecificForm.php - Gets the group roles to display in this form.
File
- src/
Form/ GroupPermissionsForm.php, line 90
Class
- GroupPermissionsForm
- Provides the group permissions administration form.
Namespace
Drupal\group\FormCode
protected function getGroupRoles() {
return [];
}