projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #23942 from tschuettler/3717-sort-mapping-page
[civicrm-core.git]
/
ext
/
afform
/
core
/
Civi
/
Api4
/
Afform.php
diff --git
a/ext/afform/core/Civi/Api4/Afform.php
b/ext/afform/core/Civi/Api4/Afform.php
index 9ede4de2d606f8631d32a641ea865c7a6bbe0d7b..15d2aea8d8f2a06943dfd033b4ef1ea4bf328a31 100644
(file)
--- a/
ext/afform/core/Civi/Api4/Afform.php
+++ b/
ext/afform/core/Civi/Api4/Afform.php
@@
-165,6
+165,10
@@
class Afform extends Generic\AbstractEntity {
'tab' => ts('Contact Summary Tab'),
],
],
'tab' => ts('Contact Summary Tab'),
],
],
+ [
+ 'name' => 'icon',
+ 'description' => 'Icon shown in the contact summary tab',
+ ],
[
'name' => 'server_route',
],
[
'name' => 'server_route',
],
@@
-236,8
+240,8
@@
class Afform extends Generic\AbstractEntity {
*/
public static function permissions() {
return [
*/
public static function permissions() {
return [
-
"meta" => ["access CiviCRM"
],
-
"default" => ["administer CiviCRM"
],
+
'meta' => ['access CiviCRM'
],
+
'default' => [['administer CiviCRM', 'administer afform']
],
// These all check form-level permissions
'get' => [],
'getOptions' => [],
// These all check form-level permissions
'get' => [],
'getOptions' => [],