cerebrate/templates/LocalTools/view_connector.php

34 lines
872 B
PHP
Raw Normal View History

2021-04-30 23:59:53 +02:00
<?php
echo $this->element(
'/genericElements/SingleViews/single_view',
[
'title' => __('{0} connector view', $entity['name']),
'data' => $entity,
'fields' => [
[
'key' => __('Name'),
'path' => 'name'
],
[
'key' => __('Connector name'),
'path' => 'connector'
],
[
'key' => __('version'),
'path' => 'connector_version'
],
[
'key' => __('Description'),
'path' => 'connector_description'
]
],
'children' => [
[
'url' => '/localTools/connectorIndex/',
'url_params' => ['connector'],
'title' => __('Connections')
]
]
]
);