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

Language entity missing uri() method implementation

$
0
0

Problem

The language entity is missing a uri() method implementation and therefore poses as having a generic /entity/* URL for the entity, which is not at all the case. Other config entities provide the uri() for the backend editing form for the entity, such as Block, View, etc. Config translation module uses this to add the additional Translate operation to listings for the entities. The lack of uri() implementation on Language entities makes the Translate operation go to the generic /entity/* URL which will obviously not work.

Proposal

Implement the uri() method exactly like Block.

Marking as a blocker for #2044389: Fix broken configuration translation pages which is a blocker for #1952394: Add configuration translation user interface module in core.

AttachmentSizeStatusTest resultOperations
language-uri.patch767 bytesIdlePASSED: [[SimpleTest]]: [MySQL] 56,795 pass(es).View details | Re-test

Viewing all articles
Browse latest Browse all 293492

Trending Articles