link_to_collection¶
Summary¶
- link_to_collection(string $text, array $props = Array, array $action = show, array $collectionObj)¶
Return a link to a collection.
Parameters: - $text (string) – text to use for the title of the collection. Default behavior is to use the name of the collection.
- $props (array) – Set of attributes to use for the link.
- $action (array) – The action to link to for the collection.
- $collectionObj (array) – Collection record can be passed to this to override the collection object retrieved by get_current_record().
Returns: string