Issue is postponed until https://www.drupal.org/node/2235457 is resolved

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

pwolanin’s picture

Title: Create entity link for baseFieldDefinitions » Create link field for menu_link_content baseFieldDefinitions

Similar to the plan for shortcut, we might get more efficient entity behavior to combine route, route parameters, etc

Shouldn't be worked on until after #2301319: MenuLinkNG part5: Remove dead code; and party!

mgifford’s picture

Status: Postponed » Active
hussainweb’s picture

Priority: Normal » Major
Status: Active » Needs review
Related issues: +#2407505: [meta] Finalize the menu links (and other user-entered paths) system
FileSize
7.65 KB

I am just uploading my work so far for review. I will be surprised if even Drupal installation succeeds.

Also, I think this might be a critical as it is related to many other critical issues around menu/routing. I am just setting it to major now like it's parent issue.

hussainweb’s picture

Okay, there are some helper methods introduced in #2235457: Use link field for shortcut entity which are useful here. We can wait for that but I will try to move this ahead anyway.

Status: Needs review » Needs work

The last submitted patch, 3: create_link_field_menu_link_content-2302205-3.patch, failed testing.

pwolanin’s picture

Maybe better to wait until we have a final link field schema?

hussainweb’s picture

@pwolanin: You are right. I think the only thing left in the schema is the description but I at least wanted to see what would be the effect here. After seeing the failures, it seems it is better to wait out the related issues.

Status: Needs work » Needs review
hussainweb’s picture

I am retesting this as there are some helper methods in #2235457: Use link field for shortcut entity and that patch is in. Let's see how many tests fail now and we can carry on working on this.

Status: Needs review » Needs work

The last submitted patch, 3: create_link_field_menu_link_content-2302205-3.patch, failed testing.

amateescu’s picture

This issue is a bit confusing.. it looks like a duplicate of #2406749: Use a link field for custom menu link?

dawehner’s picture

Status: Needs work » Closed (duplicate)

Yeah, it is a duplicate, thank you for finding it.