{{-- regular object attribute --}} @php $value = data_get($entry, $column['name']); $value = is_array($value) ? json_encode($value) : $value; $column['limit'] = $column['limit'] ?? 120; $column['prefix'] = $column['prefix'] ?? ''; $column['suffix'] = $column['suffix'] ?? ''; $column['text'] = $column['prefix'] . Str::limit($value, $column['limit'], '[...]') . $column['suffix']; $column['path'] = $entry->{$column['filePath'] ?? ''} ?? $value; @endphp @includeWhen(!empty($column['wrapper']), 'crud::columns.inc.wrapper_start') {{ $column['text'] }} @includeWhen(!empty($column['wrapper']), 'crud::columns.inc.wrapper_end')