6 lines
234 B
PHP
6 lines
234 B
PHP
![]() |
<?php
|
||
|
$value = Cake\Utility\Hash::extract($row, $field['data_path']);
|
||
|
$value = empty($value[0]) ? '' : $value[0];
|
||
|
echo $this->element('/genericElements/key', ['value' => $value, 'description' => $description ?? null]);
|
||
|
?>
|