Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Client\DataBridge\DataBridgeConfigValueProvider Class Reference
+ Inheritance diagram for Wikibase\Client\DataBridge\DataBridgeConfigValueProvider:
+ Collaboration diagram for Wikibase\Client\DataBridge\DataBridgeConfigValueProvider:

Public Member Functions

 __construct (SettingsArray $settings, $usePublish)
 
 getKey ()
 
 getValue ()
 

Private Attributes

 $settings
 
 $usePublish
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Client\DataBridge\DataBridgeConfigValueProvider::__construct ( SettingsArray  $settings,
  $usePublish 
)

Member Function Documentation

◆ getKey()

Wikibase\Client\DataBridge\DataBridgeConfigValueProvider::getKey ( )
Returns
string Key for use in mw.config.

Implements Wikibase\Lib\Modules\MediaWikiConfigValueProvider.

◆ getValue()

Wikibase\Client\DataBridge\DataBridgeConfigValueProvider::getValue ( )
Returns
mixed Non-complex value for use in mw.config.set, typically a string or (nested) array of strings.

Implements Wikibase\Lib\Modules\MediaWikiConfigValueProvider.

Member Data Documentation

◆ $settings

Wikibase\Client\DataBridge\DataBridgeConfigValueProvider::$settings
private

◆ $usePublish

Wikibase\Client\DataBridge\DataBridgeConfigValueProvider::$usePublish
private

The documentation for this class was generated from the following file: