FOFToolbar::prefixLink
Prefixes (some people erroneously call this "prepend" – there is no such word) a link to the link bar
Signature
public function prefixLink(string
$name,
[string|null
$link = null,
[boolean
$active = false,
[string|null
$icon = null]]] )
Parameters
-
$name
- The text of the link
-
$link
- The link to render; set to null to render a separator
-
$active
- True if it's an active link
-
$icon
- Icon class (used by some renderers, like the Bootstrap renderer)
Returns
- void