wiki.techinc.nl/includes/htmlform/HTMLFormActionFieldLayout.php
Nikki Nikkhoui 6b0e9eafe1 HTML Classes stability annotations
Add stability annotations for HTML classes.

Bug: T247862
Change-Id: I4dad7b98213ceceb8c04b24e5d52e6fecadb3538
2020-07-13 14:54:28 +02:00

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';
}
}