diff --git a/core/modules/field_ui/lib/Drupal/field_ui/Tests/ManageDisplayTest.php b/core/modules/field_ui/lib/Drupal/field_ui/Tests/ManageDisplayTest.php index 84b1a42..84e2bc0 100644 --- a/core/modules/field_ui/lib/Drupal/field_ui/Tests/ManageDisplayTest.php +++ b/core/modules/field_ui/lib/Drupal/field_ui/Tests/ManageDisplayTest.php @@ -304,9 +304,9 @@ function testSingleViewMode() { 'fields[_add_new_field][label]' => 'Test', 'fields[_add_new_field][field_name]' => 'test', ); - $this->fieldUIAddNewField('admin/structure/taxonomy/manage/' . $this->vocabulary, $edit); + $this->fieldUIAddNewField('admin/structure/taxonomy/manage/' . $this->vocabulary . '/overview', $edit); - $this->drupalGet('admin/structure/taxonomy/manage/' . $this->vocabulary . '/display'); + $this->drupalGet('admin/structure/taxonomy/manage/' . $this->vocabulary . '/overview/display'); $this->assertNoText('Use custom display settings for the following view modes', 'Custom display settings fieldset found.'); // This may not trigger a notice when 'view_modes_custom' isn't available. diff --git a/core/modules/taxonomy/lib/Drupal/taxonomy/Entity/Term.php b/core/modules/taxonomy/lib/Drupal/taxonomy/Entity/Term.php index e77f9d5..90c383e 100644 --- a/core/modules/taxonomy/lib/Drupal/taxonomy/Entity/Term.php +++ b/core/modules/taxonomy/lib/Drupal/taxonomy/Entity/Term.php @@ -176,36 +176,6 @@ public function getChangedTime() { /** * {@inheritdoc} */ - public function getDescription() { - return $this->get('description')->value; - } - - /** - * {@inheritdoc} - */ - public function setDescription($description) { - $this->set('description', $description); - return $this; - } - - /** - * {@inheritdoc} - */ - public function getFormat() { - return $this->get('description')->format; - } - - /** - * {@inheritdoc} - */ - public function setFormat($format) { - $this->get('description')->format = $format; - return $this; - } - - /** - * {@inheritdoc} - */ public function getName() { return $this->label(); } diff --git a/core/modules/taxonomy/lib/Drupal/taxonomy/TermInterface.php b/core/modules/taxonomy/lib/Drupal/taxonomy/TermInterface.php index 433f487..94cf56a 100644 --- a/core/modules/taxonomy/lib/Drupal/taxonomy/TermInterface.php +++ b/core/modules/taxonomy/lib/Drupal/taxonomy/TermInterface.php @@ -16,42 +16,6 @@ interface TermInterface extends ContentEntityInterface, EntityChangedInterface { /** - * Gets the term's description. - * - * @return string - * The term description. - */ - public function getDescription(); - - /** - * Sets the term's description. - * - * @param string $description - * The term's description. - * - * @return $this - */ - public function setDescription($description); - - /** - * Gets the text format name for the term's description. - * - * @return string - * The text format name. - */ - public function getFormat(); - - /** - * Sets the text format name for the term's description. - * - * @param string $format - * The term's decription text format. - * - * @return $this - */ - public function setFormat($format); - - /** * Gets the name of the term. * * @return string