Upgrade to 3.7.2

This commit is contained in:
Bastian Allgeier
2022-07-27 15:34:32 +02:00
parent 1ad1eaf387
commit 833f327139
26 changed files with 204 additions and 66 deletions

View File

@@ -205,6 +205,16 @@ class Block extends Item
return $this->isEmpty() === false;
}
/**
* Returns the sibling collection that filtered by block status
*
* @return \Kirby\Cms\Collection
*/
protected function siblingsCollection()
{
return $this->siblings->filter('isHidden', $this->isHidden());
}
/**
* Returns the block type
*

View File

@@ -73,6 +73,7 @@ class Core
'installation' => $this->root . '/areas/installation.php',
'languages' => $this->root . '/areas/languages.php',
'login' => $this->root . '/areas/login.php',
'logout' => $this->root . '/areas/logout.php',
'site' => $this->root . '/areas/site.php',
'system' => $this->root . '/areas/system.php',
'users' => $this->root . '/areas/users.php',