I'm studying the content_entity_example module and there are some things I'd like to understand better. In the file content_entity_example.routing.yml there is this block:
entity.content_entity_example_contact.collection: path: '/content_entity_example_contact/list' defaults: # Calls the list controller, defined in the annotation of the contact entity. _entity_list: 'content_entity_example_contact' _title: 'Contact list' requirements: # Checks for permission directly. _permission: 'view contact entity'
This is the routing path that shows the contact list, but I did not understand what it means
Examples are avaiable
The examples are available at this link: Drupal 8 examples