Commit 4a84fa3e authored by catch's avatar catch
Browse files

Issue #3165950 by chrisgross, sam2de: Content type paths use underscores, but...

Issue #3165950 by chrisgross, sam2de: Content type paths use underscores, but help text still says "hyphens"
parent 83c181f0
......@@ -83,7 +83,7 @@ public function form(array $form, FormStateInterface $form_state) {
'exists' => ['Drupal\node\Entity\NodeType', 'load'],
'source' => ['name'],
],
'#description' => t('A unique machine-readable name for this content type. It must only contain lowercase letters, numbers, and underscores. This name will be used for constructing the URL of the %node-add page, in which underscores will be converted into hyphens.', [
'#description' => t('A unique machine-readable name for this content type. It must only contain lowercase letters, numbers, and underscores. This name will be used for constructing the URL of the %node-add page.', [
'%node-add' => t('Add content'),
]),
];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment