diff options
author | David Rothstein <drothstein@gmail.com> | 2013-12-25 15:18:47 -0500 |
---|---|---|
committer | David Rothstein <drothstein@gmail.com> | 2013-12-25 15:18:47 -0500 |
commit | 998ec186953bb906e1aff426d70c7a56b2c14bfd (patch) | |
tree | c58ab05413e9bbab0e03748a5fd8933a3a534a7a /profiles/standard | |
parent | 7b029aca04e5834209ee4c073e4eb6cf971b66c1 (diff) | |
download | brdo-998ec186953bb906e1aff426d70c7a56b2c14bfd.tar.gz brdo-998ec186953bb906e1aff426d70c7a56b2c14bfd.tar.bz2 |
Issue #1346098 by benjy | joachim: Standard install profile sets a pointless $vocabulary->help.
Diffstat (limited to 'profiles/standard')
-rw-r--r-- | profiles/standard/standard.install | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/profiles/standard/standard.install b/profiles/standard/standard.install index 1d563a48d..ae34eafaf 100644 --- a/profiles/standard/standard.install +++ b/profiles/standard/standard.install @@ -275,13 +275,10 @@ function standard_install() { // Create a default vocabulary named "Tags", enabled for the 'article' content type. $description = st('Use tags to group articles on similar topics into categories.'); - $help = st('Enter a comma-separated list of words to describe your content.'); $vocabulary = (object) array( 'name' => st('Tags'), 'description' => $description, 'machine_name' => 'tags', - 'help' => $help, - ); taxonomy_vocabulary_save($vocabulary); @@ -301,12 +298,13 @@ function standard_install() { ); field_create_field($field); + $help = st('Enter a comma-separated list of words to describe your content.'); $instance = array( 'field_name' => 'field_' . $vocabulary->machine_name, 'entity_type' => 'node', 'label' => 'Tags', 'bundle' => 'article', - 'description' => $vocabulary->help, + 'description' => $help, 'widget' => array( 'type' => 'taxonomy_autocomplete', 'weight' => -4, |