mixin/polyfill.php - Import. Update comments.
[civicrm-core.git] / Civi / Api4 / Translation.php
1 <?php
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 */
11 namespace Civi\Api4;
12
13 /**
14 * Attach supplemental translations to strings stored in the database.
15 *
16 * @since 5.40
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 }