30 $config = array_merge( [
35 parent::__construct( $config );
38 if ( isset( $config[
'pushPending'] ) ) {
39 $this->pushPending = $config[
'pushPending'];
42 if ( isset( $config[
'performSearchOnClick'] ) ) {
43 $this->performSearchOnClick = $config[
'performSearchOnClick'];
46 if ( isset( $config[
'dataLocation'] ) ) {
48 $this->dataLocation = $config[
'dataLocation'];
52 $this->addClasses( [
'mw-widget-searchInputWidget' ] );