Commit | Line | Data |
---|---|---|
7782deca | 1 | <?php |
18dd1d5f CW |
2 | /* |
3 | +--------------------------------------------------------------------+ | |
4 | | Copyright CiviCRM LLC. All rights reserved. | | |
5 | | | | |
6 | | This work is published under the GNU AGPLv3 license with some | | |
7 | | permitted exceptions and without any warranty. For full license | | |
8 | | and copyright information, see https://civicrm.org/licensing | | |
9 | +--------------------------------------------------------------------+ | |
10 | */ | |
7782deca TO |
11 | namespace Civi\Api4; |
12 | ||
13 | /** | |
14 | * Attach supplemental translations to strings stored in the database. | |
15 | * | |
d44cc3cb | 16 | * @since 5.40 |
7782deca TO |
17 | * @package Civi\Api4 |
18 | */ | |
19 | class Translation extends Generic\DAOEntity { | |
20 | ||
21 | public static function permissions() { | |
22 | return [ | |
23 | 'meta' => ['access CiviCRM'], | |
24 | 'default' => ['translate CiviCRM'], | |
25 | ]; | |
26 | } | |
27 | ||
28 | } |