Skip to content
Snippets Groups Projects
Commit 0ec6d117 authored by Jennifer Hodgdon's avatar Jennifer Hodgdon
Browse files

Issue #2186225 by lucastockmann: Fix up docsof EntityInterface urlInfo method

parent f991be4e
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -101,14 +101,14 @@ public function label();
* example:
* @code
* links = {
* "canonical" = "/node/{node}",
* "edit-form" = "/node/{node}/edit",
* "version-history" = "/node/{node}/revisions"
* "canonical" = "node.view",
* "edit-form" = "node.page_edit",
* "version-history" = "node.revision_overview"
* }
* @endcode
* or specified in a callback function set like:
* @code
* uri_callback = "contact_category_uri",
* uri_callback = "comment_uri",
* @endcode
* If the path is not set in the links array, the uri_callback function is
* used for setting the path. If this does not exist and the link relationship
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment