Add stability annotations for HTML classes. Bug: T247862 Change-Id: I4dad7b98213ceceb8c04b24e5d52e6fecadb3538
22 lines
407 B
PHP
22 lines
407 B
PHP
<?php
|
|
|
|
/*
|
|
* @stable to extend
|
|
*/
|
|
class HTMLFormFieldLayout extends OOUI\FieldLayout {
|
|
use HTMLFormElement;
|
|
|
|
/*
|
|
* @stable to call
|
|
*/
|
|
public function __construct( $fieldWidget, array $config = [] ) {
|
|
parent::__construct( $fieldWidget, $config );
|
|
|
|
// Traits
|
|
$this->initializeHTMLFormElement( $config );
|
|
}
|
|
|
|
protected function getJavaScriptClassName() {
|
|
return 'mw.htmlform.FieldLayout';
|
|
}
|
|
}
|