diff --git a/src/CMDocumentConnectorTrait.php b/src/CMDocumentConnectorTrait.php index f94de85aea07ea8bec641a883c71247ff41a0d9c..2cfbd1aed4361c2002001dad589b3d8313a8d01c 100644 --- a/src/CMDocumentConnectorTrait.php +++ b/src/CMDocumentConnectorTrait.php @@ -55,11 +55,11 @@ trait CMDocumentConnectorTrait { $alias = "/admin/structure/media/manage/{$bundle}/document"; break; - case ($type === 'menu_link') && (!empty($field)): + case ($type === 'menu_link_content') && (!empty($field)): $alias = "/admin/structure/menu/manage/{$bundle_hyphenated}/fields/menu_link_content.{$bundle_hyphenated}.{$field}/document"; break; - case ($type === 'menu_link'): + case ($type === 'menu_link_content'): $alias = "/admin/structure/menu/manage/{$bundle}/document"; break;