Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 295737

Add a _entity_view routing default for viewing an entity.

$
0
0

Updated: Comment #0

Problem/Motivation

We have _entity_list, _entity_form already, lets add _entity_view to cut down on boilerplate code for viewing an entity

Proposed resolution

Add an _entity_view option for routing of the form entity_type.view_mode

Remaining tasks

Write the patch
Tests
Review

User interface changes

None

API changes

No need for boilerplate code for viewing an entity

#1987898: Convert user_view_page() to a new style controller
#2008356: Provide a _entity_list route default to replace Controller\EntityListController and mimic _entity_form
#731724: Convert comment settings into a field to make them work with CMI and non-node entities


Viewing all articles
Browse latest Browse all 295737


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>