mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-24 14:34:09 +00:00
03da361b97
- Refactor existing template data-related partials into CitizenComponent components - Re-implement user menu header as UserInfo - Add description text for anon and temp user in UserMenu --------- Co-authored-by: github-actions <github-actions@users.noreply.github.com>
18 lines
300 B
PHP
18 lines
300 B
PHP
<?php
|
|
|
|
declare( strict_types=1 );
|
|
|
|
namespace MediaWiki\Skins\Citizen\Components;
|
|
|
|
/**
|
|
* Component interface for managing Citizen-modified components
|
|
*
|
|
* @internal
|
|
*/
|
|
interface CitizenComponent {
|
|
/**
|
|
* @return array of Mustache compatible data
|
|
*/
|
|
public function getTemplateData(): array;
|
|
}
|