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