Issue 2780511: Do no set lang on untranslatable menu links
4 unresolved threads
4 unresolved threads
Closes #2780511
Merge request reports
Activity
added 322 commits
-
57209e0f...6fa03441 - 319 commits from branch
project:11.x
- 69f425d5 - Issue 2780511: Do no set lang on untranslatable menu links
- 0c212a3e - Issue 2780511: Update tests
- 0dd45ceb - add test
Toggle commit list-
57209e0f...6fa03441 - 319 commits from branch
69 // Enable translation for page nodes. 70 $this->enableContentTranslation('node', 'page'); 71 } 72 73 /** 74 * Gets a content entity object by title. 75 * 76 * @param string $entity_type_id 77 * Id of content entity type of content entity to load. 78 * @param string $title 79 * Title of content entity to load. 80 * 81 * @return \Drupal\Core\Entity\ContentEntityInterface 82 * First found content entity with given title. 83 */ 84 protected function getContentEntityByTitle($entity_type_id, $title) {
Please register or sign in to reply