Back to RouterViewConfiguration class

Method setNestable

public \Joomla\CMS\Component\Router\RouterViewConfiguration
setNestable
(mixed $isNestable = true)
Set if this view is nestable or not
Parameters
  • bool $isNestable If set to true, the view is nestable
Returns
  • \Joomla\CMS\Component\Router\RouterViewConfiguration This object for chaining
Since
  • 3.5

Method setNestable - Source code

/**
 * Set if this view is nestable or not
 *
 * @param   bool  $isNestable  If set to true, the view is nestable
 *
 * @return  RouterViewConfiguration  This object for chaining
 *
 * @since   3.5
 */
public function setNestable($isNestable = true)
{
    $this->nestable = (bool) $isNestable;
    return $this;
}