MediaWiki REL1_35
HTMLFormActionFieldLayout.php
Go to the documentation of this file.
1<?php
2
3/*
4 * @stable to extend
5 */
6class HTMLFormActionFieldLayout extends OOUI\ActionFieldLayout {
8
9 /*
10 * @stable to call
11 */
12 public function __construct( $fieldWidget, $buttonWidget = false, array $config = [] ) {
13 parent::__construct( $fieldWidget, $buttonWidget, $config );
14
15 // Traits
16 $this->initializeHTMLFormElement( $config );
17 }
18
19 protected function getJavaScriptClassName() {
20 return 'mw.htmlform.ActionFieldLayout';
21 }
22}
initializeHTMLFormElement(array $config=[])
trait HTMLFormElement
Allows custom data specific to HTMLFormField to be set for OOUI forms.
__construct( $fieldWidget, $buttonWidget=false, array $config=[])