diff options
Diffstat (limited to 'vendor/oojs/oojs-ui/php/Widget.php')
-rw-r--r-- | vendor/oojs/oojs-ui/php/Widget.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/vendor/oojs/oojs-ui/php/Widget.php b/vendor/oojs/oojs-ui/php/Widget.php index 04152aa5..7828a82e 100644 --- a/vendor/oojs/oojs-ui/php/Widget.php +++ b/vendor/oojs/oojs-ui/php/Widget.php @@ -9,6 +9,16 @@ namespace OOUI; */ class Widget extends Element { + /* Static Properties */ + + /** + * Whether this widget will behave reasonably when wrapped in a HTML `<label>`. If this is true, + * wrappers such as FieldLayout may use a `<label>`. + * + * @var boolean + */ + public static $supportsSimpleLabel = false; + /* Properties */ /** |