mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-12-21 12:12:44 +00:00
6636367d47
To aid moving towards a MainMenu component we must first make subcomponents for the language alert and opt-out link (which share code which I've captured in VectorComponentMainMenuAction) Code is lifted into SkinVector22 to allow us to easily make the template change without any breaking visual changes Bug: T319349 Bug: T322089 Change-Id: Ibb69d029a9fb6cee3482e15a60a7358361bd2405
15 lines
268 B
PHP
15 lines
268 B
PHP
<?php
|
|
namespace MediaWiki\Skins\Vector\Components;
|
|
|
|
/**
|
|
* Component interface for managing Vector-modified components
|
|
*
|
|
* @internal
|
|
*/
|
|
interface VectorComponent {
|
|
/**
|
|
* @return array of Mustache compatible data
|
|
*/
|
|
public function getTemplateData(): array;
|
|
}
|