Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EWPP-1644: Open vocabulary association facet translations. #115

Merged
merged 1 commit into from
Nov 9, 2021

Conversation

upchuk
Copy link
Contributor

@upchuk upchuk commented Oct 20, 2021

This PR does 2 things:

  • Ensures that when a list page facet is generated based on a vocabulary association, the facet also receives translations whenever the association is translated - translations are also kept in sync.
  • Updates all existing faces that have been created based on associations with potential translations by resaving each vocabulary association translation override.

@upchuk upchuk force-pushed the EWPP-1644 branch 2 times, most recently from 54f61a6 to 092cd60 Compare October 20, 2021 11:39
// created.
$this->container->get('kernel')->rebuildContainer();
/** @var \Drupal\facets\FacetInterface $facet_1 */
$facet = Facet::load($facet_id_one);
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
$facet = Facet::load($facet_id_one);
$facet_one = Facet::load($facet_id_one);

sergepavle
sergepavle previously approved these changes Oct 25, 2021
@upchuk upchuk merged commit b49453c into master Nov 9, 2021
@upchuk upchuk deleted the EWPP-1644 branch November 9, 2021 13:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants