Skip to content
Snippets Groups Projects
Verified Commit 8357990c authored by Théodore Biadala's avatar Théodore Biadala
Browse files

Issue #3502487 by lauriii, oily, ckrina: Make the menu link form less verbose

parent 523cbdf6
No related branches found
No related tags found
4 merge requests!11197Issue #3506427 by eduardo morales alberti: Remove responsive_image.ajax from hook,!2964Issue #2865710 : Dependencies from only one instance of a widget are used in display modes,!10223132456: Fix issue where views instances are emptied before an ajax request is complete,!617Issue #3043725: Provide a Entity Handler for user cancelation
Pipeline #408174 passed with warnings
Pipeline: drupal

#408182

    Pipeline: drupal

    #408178

      ......@@ -293,7 +293,6 @@ public static function baseFieldDefinitions(EntityTypeInterface $entity_type) {
      $fields['title'] = BaseFieldDefinition::create('string')
      ->setLabel(t('Menu link title'))
      ->setDescription(t('The text to be used for this link in the menu.'))
      ->setRequired(TRUE)
      ->setTranslatable(TRUE)
      ->setRevisionable(TRUE)
      ......@@ -333,7 +332,6 @@ public static function baseFieldDefinitions(EntityTypeInterface $entity_type) {
      $fields['link'] = BaseFieldDefinition::create('link')
      ->setLabel(t('Link'))
      ->setDescription(t('The location this menu link points to.'))
      ->setRevisionable(TRUE)
      ->setRequired(TRUE)
      ->setSettings([
      ......
      ......@@ -91,7 +91,7 @@ public function testMenuLinkContentForm(): void {
      $option = $this->assertSession()->optionExists('edit-menu-parent', 'admin:');
      $this->assertTrue($option->isSelected());
      // Test that the field description is present.
      $this->assertSession()->pageTextContains('The location this menu link points to.');
      $this->assertSession()->pageTextContains('Start typing the title of a piece of content to select it. ');
      $this->submitForm([
      'title[0][value]' => 'Front page',
      ......
      0% Loading or .
      You are about to add 0 people to the discussion. Proceed with caution.
      Finish editing this message first!
      Please register or to comment