label('Lifecycle') ->icon('heroicon-o-archive-box') ->color('gray') ->visible(fn (): bool => $this->getRecord() instanceof Tenant && in_array( TenantResource::lifecycleActionDescriptor($this->getRecord(), TenantActionSurface::TenantEditHeader)?->key, ['archive', 'restore'], true, )), ])); } }