# The `EditViewLayout` and `ListViewLayout` have been rewritten

> Source: https://docs.strapi.io/cms/migration/v4-to-v5/breaking-changes/edit-view-layout-and-list-view-layout-rewritten

In Strapi 5, the `content-manager_editViewLayoutManager` and `content-manager_listViewLayoutManager` Redux hooks have been removed and replaced with a new `useDocumentLayout` hook for admin panel customization.

In Strapi 5, some admin panel hooks have been removed from the Redux store and a new `useDocumentLayout` hook is introduced.

This page is part of the [breaking changes database](/cms/migration/v4-to-v5/breaking-changes) and provides information about the breaking change and additional instructions to migrate from Strapi v4 to Strapi 5.

- Is this breaking change affecting plugins? Yes
- Is this breaking change automatically handled by a codemod? No

## Breaking change description

**In Strapi v4**

The `content-manager_editViewLayoutManager` and `content-manager_listViewLayoutManager` hooks can be used.

**In Strapi 5**

- The `content-manager_editViewLayoutManager` and `content-manager_listViewLayoutManager` have been removed from the Redux store.
- A new `useDocumentLayout` hook is available.

## Migration

This section regroups useful notes and procedures about the introduced breaking change.

### Notes

Additional information about hooks can be found in the [Admin Panel API for plugins](/cms/plugins-development/admin-hooks) documentation.

### Manual procedure

Plugins developers taking advantage of the `content-manager_editViewLayoutManager` and `content-manager_listViewLayoutManager` hooks in their plugins need to refactor their code.
