Update Widget.php

Added static $only_available_in to add ability to show or hide in specific WidgetArea.
This commit is contained in:
NoBone 2013-04-22 15:47:13 +03:00
parent df56737d3c
commit bc8546fe7c

View File

@ -28,7 +28,13 @@ class Widget extends DataObject {
private static $defaults = array(
'Enabled' => true
);
/**
*
* @var array
*/
private static $only_available_in = array();
/**
*
* @var array