dev/translation#67 - Add APIv4 support for "Translation" entity. Expand tests.
[civicrm-core.git] / Civi / Api4 / Translation.php
CommitLineData
7782deca
TO
1<?php
2namespace Civi\Api4;
3
4/**
5 * Attach supplemental translations to strings stored in the database.
6 *
7 * @package Civi\Api4
8 */
9class Translation extends Generic\DAOEntity {
10
11 public static function permissions() {
12 return [
13 'meta' => ['access CiviCRM'],
14 'default' => ['translate CiviCRM'],
15 ];
16 }
17
18}