2022-11-09 14:09:27 +01:00
|
|
|
<?php
|
|
|
|
echo $this->element(
|
|
|
|
'/genericElements/SingleViews/single_view',
|
|
|
|
[
|
|
|
|
'data' => $entity,
|
|
|
|
'fields' => [
|
|
|
|
[
|
|
|
|
'key' => __('ID'),
|
|
|
|
'path' => 'id'
|
|
|
|
],
|
|
|
|
[
|
|
|
|
'key' => __('Scope'),
|
|
|
|
'path' => 'scope'
|
|
|
|
],
|
|
|
|
[
|
|
|
|
'key' => __('Permission'),
|
|
|
|
'path' => 'permission'
|
|
|
|
],
|
|
|
|
[
|
|
|
|
'key' => __('Limit'),
|
2022-12-08 15:35:41 +01:00
|
|
|
'path' => 'max_occurrence'
|
2022-11-09 14:09:27 +01:00
|
|
|
],
|
|
|
|
[
|
|
|
|
'key' => __('Comment'),
|
|
|
|
'path' => 'comment'
|
|
|
|
]
|
|
|
|
],
|
|
|
|
'children' => []
|
|
|
|
]
|
|
|
|
);
|