$layout->is()
Compares the item to another one
$layout->is(Kirby\Cms\Item $item): bool
Parameters
Name | Type | Default |
---|---|---|
$itemrequired | Kirby\Cms\Item |
no default value |
Return type
bool
This method modifies the existing $layout
object it is applied to and returns it again.
Parent class
Kirby\Cms\Layout
inherited from Kirby\Cms\Item