Skip to content

Drag and Drop Reordering

Pedro de Carvalho edited this page Jul 29, 2026 · 2 revisions

The dragAndDrop feature allows you to offer the possibility for users to reorder the entries directly in the administration list. When reordering the framework will update the menu_order value of each entry to reflect the new order after a drag and drop event.

This feature doesn't need any values, so you just need to enable it, setting it to true.

Example:

return [
	'active'       => true,
	'type'         => 'cpt',
	'name'         => 'book',
	'features'     => [
		'draganddrop'   => true,
	],
];

Clone this wiki locally