diff options
Diffstat (limited to 'MLEB/Translate/src/TranslatorInterface/Aid/GroupsAid.php')
-rw-r--r-- | MLEB/Translate/src/TranslatorInterface/Aid/GroupsAid.php | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/MLEB/Translate/src/TranslatorInterface/Aid/GroupsAid.php b/MLEB/Translate/src/TranslatorInterface/Aid/GroupsAid.php new file mode 100644 index 00000000..c775788c --- /dev/null +++ b/MLEB/Translate/src/TranslatorInterface/Aid/GroupsAid.php @@ -0,0 +1,15 @@ +<?php +declare( strict_types = 1 ); + +namespace MediaWiki\Extension\Translate\TranslatorInterface\Aid; + +/** + * @author Niklas Laxström + * @license GPL-2.0-or-later + * @since 2021.05 + */ +class GroupsAid extends TranslationAid { + public function getData(): array { + return [ '**' => 'group' ] + $this->handle->getGroupIds(); + } +} |