31 lines
687 B
PHP
31 lines
687 B
PHP
<?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'),
|
|
'path' => 'limit'
|
|
],
|
|
[
|
|
'key' => __('Comment'),
|
|
'path' => 'comment'
|
|
]
|
|
],
|
|
'children' => []
|
|
]
|
|
);
|