Back to CustomButton class

Method renderButton

protected string
renderButton
(array &$options)
Render button HTML.
Parameters
  • array $options The button options.
Returns
  • string The button HTML.
Since
  • 4.0.0
Class: CustomButton
Project: Joomla

Method renderButton - Source code

/**
 * Render button HTML.
 *
 * @param   array  $options  The button options.
 *
 * @return  string  The button HTML.
 *
 * @since  4.0.0
 */
protected function renderButton(array &$options) : string
{
    return (string) ($options['html'] ?? '');
}