{{-- regular object attribute --}} @php $value = data_get($entry, $column['name']); $value = is_array($value) ? json_encode($value) : $value; $column['escaped'] = $column['escaped'] ?? true; $column['limit'] = $column['limit'] ?? 40; $column['prefix'] = $column['prefix'] ?? ''; $column['suffix'] = $column['suffix'] ?? ''; $column['text'] = $column['prefix'].Str::limit($value, $column['limit'], '[...]').$column['suffix']; @endphp @includeWhen(!empty($column['wrapper']), 'crud::columns.inc.wrapper_start') {!! ($entry->depth>1) ? str_repeat(config('custom.menu.admin_list_depth_html'), $entry->depth-1) : '' !!} @if($column['escaped']) {{ $column['text'] }} @else {!! $column['text'] !!} @endif @includeWhen(!empty($column['wrapper']), 'crud::columns.inc.wrapper_end')