Version 5.0.0 beta 5
This commit is contained in:
1 parent
2f24f9de48
commit
57d9db6ce2
218 files changed
+5331
-7416
No files matched your search
@@ -109,11 +109,18 @@ class widgets extends Controller
|
||||
|
||||
foreach( $application->getAvailableWidgets() as $block )
|
||||
{
|
||||
/* @var Widget $block */
|
||||
if ( !$block->isExecutableByApp( array( $this->pageApp, Area::AREA_SIDEBAR ) ) )
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
/* Is this widget hidden from the block list? */
|
||||
if( !$block::$showInBlockList )
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
if ( in_array( $block->key, $favoriteIds ) )
|
||||
{
|
||||
$favorites[$block->key] = $block;
|
||||
|
||||
Reference in new issue
Block a user