Issue #2199369 by paulh, larowlan: Update docs for EntityInterface::urlInfo to match current code
parent
545d194693
commit
a2ee636f34
|
@ -119,8 +119,9 @@ interface EntityInterface extends AccessibleInterface {
|
|||
* The link relationship type, for example: canonical or edit-form.
|
||||
*
|
||||
* @return mixed[]
|
||||
* An array containing the 'path' and 'options' keys used to build the URI
|
||||
* of the entity, and matching the signature of url().
|
||||
* An array containing 'route_name', 'route_parameters' and 'options' keys
|
||||
* used to build the URI of the entity and matching the signature of
|
||||
* \Drupal::url().
|
||||
*/
|
||||
public function urlInfo($rel = 'canonical');
|
||||
|
||||
|
|
Loading…
Reference in New Issue