답변:
예! "탐색"메뉴 (/ admin / structure / menu / manage / navigation)를 편집하고 "컨텐츠 추가"아래의 메뉴 항목을 다시 정렬하십시오. 이제 / node / add로 이동하면 "Navigation"메뉴에서 설정 한 순서대로 나타납니다. 아래 스크린 샷 예 / node / add에서 기본 페이지로 표시되고 기사가 나타납니다.

알파벳 순서가 페이지 콜백 함수에 하드 코딩되어 있기 때문에 사용자 정의 모듈에 의존해야합니다 node_overview_types()(실제로 _node_types_build()해당 함수에서 호출됩니다).
정렬하려는 것을 알지 못하면 완전한 대답을하기가 매우 어렵지만 골격 코드를 넣을 것입니다.
function MYMODULE_menu_alter(&$items) {
// Override the default page callback for the content types page
$items['admin/structure/types']['page callback'] = 'MYMODULE_node_admin_overview';
}
function MYMODULE_node_admin_overview() {
// Get the normal page build
$default_build = node_overview_types();
// Extract the table rows from the build
$table_rows = $default_build['#rows'];
// Perform an operation on these rows to re-order them for your needs
_some_call_by_reference_sort_function($table_rows);
// Assign the newly ordered rows back to the page build
$default_build['#rows'] = $table_rows;
return $default_build;
}
콜백 함수를 메인 모듈 파일에 유지하십시오. 그렇지 않으면 file결코 재미없는 원래 메뉴 항목 의 키를 재정의해야 합니다.
UI를 통해 순서를 변경하려면 자체 관리 페이지를 구현해야합니다.