23 lines
480 B
PHP
23 lines
480 B
PHP
<?php
|
|
|
|
/*
|
|
* @stable to extend
|
|
*/
|
|
class HTMLFormActionFieldLayout extends OOUI\ActionFieldLayout {
|
|
use HTMLFormElement;
|
|
|
|
/**
|
|
* @stable to call
|
|
* @inheritDoc
|
|
*/
|
|
public function __construct( $fieldWidget, $buttonWidget = false, array $config = [] ) {
|
|
parent::__construct( $fieldWidget, $buttonWidget, $config );
|
|
|
|
// Traits
|
|
$this->initializeHTMLFormElement( $config );
|
|
}
|
|
|
|
protected function getJavaScriptClassName() {
|
|
return 'mw.htmlform.ActionFieldLayout';
|
|
}
|
|
}
|