Mercurial > hg > isophonics-drupal-site
comparison core/modules/user/src/Entity/Role.php @ 17:129ea1e6d783
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:21:36 +0000 |
parents | 4c8ae668cc8c |
children |
comparison
equal
deleted
inserted
replaced
16:c2387f117808 | 17:129ea1e6d783 |
---|---|
10 * Defines the user role entity class. | 10 * Defines the user role entity class. |
11 * | 11 * |
12 * @ConfigEntityType( | 12 * @ConfigEntityType( |
13 * id = "user_role", | 13 * id = "user_role", |
14 * label = @Translation("Role"), | 14 * label = @Translation("Role"), |
15 * label_collection = @Translation("Roles"), | |
16 * label_singular = @Translation("role"), | |
17 * label_plural = @Translation("roles"), | |
18 * label_count = @PluralTranslation( | |
19 * singular = "@count role", | |
20 * plural = "@count roles", | |
21 * ), | |
15 * handlers = { | 22 * handlers = { |
16 * "storage" = "Drupal\user\RoleStorage", | 23 * "storage" = "Drupal\user\RoleStorage", |
17 * "access" = "Drupal\user\RoleAccessControlHandler", | 24 * "access" = "Drupal\user\RoleAccessControlHandler", |
18 * "list_builder" = "Drupal\user\RoleListBuilder", | 25 * "list_builder" = "Drupal\user\RoleListBuilder", |
19 * "form" = { | 26 * "form" = { |