Version 5.0.0 beta 4
This commit is contained in:
1 parent
e86153356a
commit
2f24f9de48
276 files changed
+8614
-6044
No files matched your search
@@ -673,6 +673,13 @@ class Area
|
||||
return $this;
|
||||
}
|
||||
|
||||
/* Can this widget be dropped into this area? */
|
||||
/* @var Widget $widgetClass */
|
||||
$widgetClass = 'IPS\\' . $block['app'] . '\\widgets\\' . $block['key'];
|
||||
if( class_exists( $widgetClass ) and in_array( $this->id, $widgetClass::$disallowedAreas ) )
|
||||
{
|
||||
return $this;
|
||||
}
|
||||
|
||||
/* Load configuration */
|
||||
if ( empty( $block['configuration'] ) or !is_array( $block['configuration'] ) )
|
||||
|
||||
Reference in new issue
Block a user