Skip to content
This repository has been archived by the owner on Mar 31, 2023. It is now read-only.

323: Menu links to use link function #324

Merged
merged 2 commits into from
Feb 12, 2019

Conversation

evanmwillhite
Copy link
Contributor

Addresses #323

Because of how menu links are handled in Drupal outside of templates, we have to use the link function to get the full goodness of Drupal's link handling. This switches the menu-item tpl to use that function and creates a simple link function in Pattern Lab to mimic the behavior.

To Test:

  • Checkout this branch and rerun yarn start
  • Verify menus work correctly and look the same in both Pattern Lab AND Drupal.

@mikeethedude mikeethedude self-requested a review February 12, 2019 16:26
Copy link
Collaborator

@mikeethedude mikeethedude left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code looks good. Functional tests pass too.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants