File tree 1 file changed +2
-4
lines changed
1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -275,13 +275,10 @@ function standard_install() {
275
275
276
276
// Create a default vocabulary named "Tags", enabled for the 'article' content type.
277
277
$description = st('Use tags to group articles on similar topics into categories.');
278
- $help = st('Enter a comma-separated list of words to describe your content.');
279
278
$vocabulary = (object) array(
280
279
'name' => st('Tags'),
281
280
'description' => $description,
282
281
'machine_name' => 'tags',
283
- 'help' => $help,
284
-
285
282
);
286
283
taxonomy_vocabulary_save($vocabulary);
287
284
@@ -301,12 +298,13 @@ function standard_install() {
301
298
);
302
299
field_create_field($field);
303
300
301
+ $help = st('Enter a comma-separated list of words to describe your content.');
304
302
$instance = array(
305
303
'field_name' => 'field_' . $vocabulary->machine_name,
306
304
'entity_type' => 'node',
307
305
'label' => 'Tags',
308
306
'bundle' => 'article',
309
- 'description' => $vocabulary-> help,
307
+ 'description' => $help,
310
308
'widget' => array(
311
309
'type' => 'taxonomy_autocomplete',
312
310
'weight' => -4,
You can’t perform that action at this time.
0 commit comments