X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Ftaxonomy%2Ftaxonomy.module;h=e17346ba830315fe5d150ca73df8b28b2d31b058;hb=9917807b03b64faf00f6a1f29dcb6eafc454efa5;hp=4a93989ad52fe5817449598730c5baec9706e75f;hpb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;p=yaffs-website diff --git a/web/core/modules/taxonomy/taxonomy.module b/web/core/modules/taxonomy/taxonomy.module index 4a93989ad..e17346ba8 100644 --- a/web/core/modules/taxonomy/taxonomy.module +++ b/web/core/modules/taxonomy/taxonomy.module @@ -22,6 +22,8 @@ use Drupal\taxonomy\VocabularyInterface; * * @deprecated in Drupal 8.2.x and will be removed before 9.0.0. Use * \Drupal\taxonomy\VocabularyInterface::HIERARCHY_DISABLED instead. + * + * @see https://www.drupal.org/node/2807795 */ const TAXONOMY_HIERARCHY_DISABLED = 0; @@ -30,6 +32,8 @@ const TAXONOMY_HIERARCHY_DISABLED = 0; * * @deprecated in Drupal 8.2.x and will be removed before 9.0.0. Use * \Drupal\taxonomy\VocabularyInterface::HIERARCHY_SINGLE instead. + * + * @see https://www.drupal.org/node/2807795 */ const TAXONOMY_HIERARCHY_SINGLE = 1; @@ -38,6 +42,8 @@ const TAXONOMY_HIERARCHY_SINGLE = 1; * * @deprecated in Drupal 8.2.x and will be removed before 9.0.0. Use * \Drupal\taxonomy\VocabularyInterface::HIERARCHY_MULTIPLE instead. + * + * @see https://www.drupal.org/node/2807795 */ const TAXONOMY_HIERARCHY_MULTIPLE = 2; @@ -61,7 +67,7 @@ function taxonomy_help($route_name, RouteMatchInterface $route_match) { $output .= '
' . t('Classifying entity content') . '
'; $output .= '
' . t('A user with the Administer fields permission for a certain entity type may add Taxonomy term reference fields to the entity type, which will allow entities to be classified using taxonomy terms. See the Entity Reference help for more information about reference fields. See the Field module help and the Field UI help pages for general information on fields and how to create and manage them.', [':field_ui' => $field_ui_url, ':field' => \Drupal::url('help.page', ['name' => 'field']), ':entity_reference' => \Drupal::url('help.page', ['name' => 'entity_reference'])]) . '
'; $output .= '
' . t('Adding new terms during content creation') . '
'; - $output .= '
' . t('Allowing users to add new terms gradually builds a vocabulary as content is added and edited. Users can add new terms if either of the two Autocomplete widgets is chosen for the Taxonomy term reference field in the Manage form display page for the field. You will also need to enable the Create referenced entities if they don\'t already exist option, and restrict the field to one vocabulary.') . '
'; + $output .= '
' . t("Allowing users to add new terms gradually builds a vocabulary as content is added and edited. Users can add new terms if either of the two Autocomplete widgets is chosen for the Taxonomy term reference field in the Manage form display page for the field. You will also need to enable the Create referenced entities if they don't already exist option, and restrict the field to one vocabulary.") . '
'; $output .= '
' . t('Configuring displays and form displays') . '
'; $output .= '
' . t('See the Entity Reference help page for the field widgets and formatters that can be configured for any reference field on the Manage display and Manage form display pages. Taxonomy additionally provides an RSS category formatter that displays nothing when the entity item is displayed as HTML, but displays an RSS category instead of a list when the entity item is displayed in an RSS feed.', [':entity_reference' => \Drupal::url('help.page', ['name' => 'entity_reference'])]) . ''; $output .= '';