Back to Toolbar class

Method getButtonPath

public array
getButtonPath
()
Get the lookup paths for button objects
Returns
  • array
Since
  • 4.0.0
Deprecated
  • 5.0
Class: Toolbar
Project: Joomla

Method getButtonPath - Source code

/**
 * Get the lookup paths for button objects
 *
 * @return  array
 *
 * @since   4.0.0
 * @deprecated  5.0  ToolbarButton classes should be autoloaded
 */
public function getButtonPath() : array
{
    @trigger_error(sprintf('Lookup paths for %s objects is deprecated and will be removed in Joomla 5.0.', ToolbarButton::class), E_USER_DEPRECATED);
    return $this->_buttonPath;
}