Back to ActionButton class

Method setLayout

public static
setLayout
(string $layout)
Method to set property template.
Parameters
  • string $layout The layout path.
Returns
  • static Return self to support chaining.
Since
  • 4.0.0
Class: ActionButton
Project: Joomla

Method setLayout - Source code

/**
 * Method to set property template.
 *
 * @param   string  $layout  The layout path.
 *
 * @return  static  Return self to support chaining.
 *
 * @since   4.0.0
 */
public function setLayout(string $layout) : self
{
    $this->layout = $layout;
    return $this;
}