When wanting to return details for an item of a given entity
type you can statically call the find
method on supported entities:
Expected arguments:
Key | Required | Type | Description |
---|---|---|---|
id |
true | int or string | The ID of the current entity |
Note: This method also supports an associative array to pass named IDs. But no entity current requires this.