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