comparison core/modules/taxonomy/src/Entity/Vocabulary.php @ 14:1fec387a4317

Update Drupal core to 8.5.2 via Composer
author Chris Cannam
date Mon, 23 Apr 2018 09:46:53 +0100
parents 4c8ae668cc8c
children 129ea1e6d783
comparison
equal deleted inserted replaced
13:5fb285c0d0e3 14:1fec387a4317
10 * Defines the taxonomy vocabulary entity. 10 * Defines the taxonomy vocabulary entity.
11 * 11 *
12 * @ConfigEntityType( 12 * @ConfigEntityType(
13 * id = "taxonomy_vocabulary", 13 * id = "taxonomy_vocabulary",
14 * label = @Translation("Taxonomy vocabulary"), 14 * label = @Translation("Taxonomy vocabulary"),
15 * label_singular = @Translation("vocabulary"),
16 * label_plural = @Translation("vocabularies"),
17 * label_collection = @Translation("Taxonomy"),
18 * label_count = @PluralTranslation(
19 * singular = "@count vocabulary",
20 * plural = "@count vocabularies"
21 * ),
15 * handlers = { 22 * handlers = {
16 * "storage" = "Drupal\taxonomy\VocabularyStorage", 23 * "storage" = "Drupal\taxonomy\VocabularyStorage",
17 * "list_builder" = "Drupal\taxonomy\VocabularyListBuilder", 24 * "list_builder" = "Drupal\taxonomy\VocabularyListBuilder",
25 * "access" = "Drupal\taxonomy\VocabularyAccessControlHandler",
18 * "form" = { 26 * "form" = {
19 * "default" = "Drupal\taxonomy\VocabularyForm", 27 * "default" = "Drupal\taxonomy\VocabularyForm",
20 * "reset" = "Drupal\taxonomy\Form\VocabularyResetForm", 28 * "reset" = "Drupal\taxonomy\Form\VocabularyResetForm",
21 * "delete" = "Drupal\taxonomy\Form\VocabularyDeleteForm" 29 * "delete" = "Drupal\taxonomy\Form\VocabularyDeleteForm",
30 * "overview" = "Drupal\taxonomy\Form\OverviewTerms"
31 * },
32 * "route_provider" = {
33 * "html" = "Drupal\taxonomy\Entity\Routing\VocabularyRouteProvider",
22 * } 34 * }
23 * }, 35 * },
24 * admin_permission = "administer taxonomy", 36 * admin_permission = "administer taxonomy",
25 * config_prefix = "vocabulary", 37 * config_prefix = "vocabulary",
26 * bundle_of = "taxonomy_term", 38 * bundle_of = "taxonomy_term",
28 * "id" = "vid", 40 * "id" = "vid",
29 * "label" = "name", 41 * "label" = "name",
30 * "weight" = "weight" 42 * "weight" = "weight"
31 * }, 43 * },
32 * links = { 44 * links = {
33 * "add-form" = "/admin/structure/taxonomy/manage/{taxonomy_vocabulary}/add", 45 * "add-form" = "/admin/structure/taxonomy/add",
34 * "delete-form" = "/admin/structure/taxonomy/manage/{taxonomy_vocabulary}/delete", 46 * "delete-form" = "/admin/structure/taxonomy/manage/{taxonomy_vocabulary}/delete",
35 * "reset-form" = "/admin/structure/taxonomy/manage/{taxonomy_vocabulary}/reset", 47 * "reset-form" = "/admin/structure/taxonomy/manage/{taxonomy_vocabulary}/reset",
36 * "overview-form" = "/admin/structure/taxonomy/manage/{taxonomy_vocabulary}/overview", 48 * "overview-form" = "/admin/structure/taxonomy/manage/{taxonomy_vocabulary}/overview",
37 * "edit-form" = "/admin/structure/taxonomy/manage/{taxonomy_vocabulary}", 49 * "edit-form" = "/admin/structure/taxonomy/manage/{taxonomy_vocabulary}",
38 * "collection" = "/admin/structure/taxonomy", 50 * "collection" = "/admin/structure/taxonomy",