Exemplo n.º 1
0
 public static function subtypeIsValid($widgetType, $widgetSubtype)
 {
     if ($widgetType === 'profile' && $widgetSubtype === 'TemplatesGridViewProfileWidget' || in_array($widgetSubtype, SortableWidget::getWidgetSubtypes($widgetType))) {
         return true;
     } else {
         return false;
     }
 }