You are here

private function EntityConfigSettingsForm::getRoles in Acquia Content Hub 8

Gets the roles to display in this form.

Return value

\Drupal\user\RoleInterface[] An array of role objects.

1 call to EntityConfigSettingsForm::getRoles()
EntityConfigSettingsForm::getRestrictedRoles in src/Form/EntityConfigSettingsForm.php
Get roles with security implications.

File

src/Form/EntityConfigSettingsForm.php, line 335

Class

EntityConfigSettingsForm
Defines the form to configure the entity types and bundles to be exported.

Namespace

Drupal\acquia_contenthub\Form

Code

private function getRoles() {
  return $this->roleStorage
    ->loadMultiple();
}