Commit 4b224980 authored by alexpott's avatar alexpott
Browse files

Issue #2014821 followup by tim.plunkett: Introduce form modes UI and their configuration entity.

parent a2732deb
......@@ -120,7 +120,8 @@ function node_help($path, $arg) {
return '<p>' . t('Individual content types can have different fields, behaviors, and permissions assigned to them.') . '</p>';
case 'admin/structure/types/manage/%/form-display':
return '<p>' . t('Content items can be edited using different form modes. Here, you can define which fields are shown and hidden when %type content is edited in each form mode, and define how the field form widgets are displayed in each form mode.', array('%type' => node_type_get_label($arg[4]))) . '</p>' ;
$type = entity_load('node_type', $arg[4]);
return '<p>' . t('Content items can be edited using different form modes. Here, you can define which fields are shown and hidden when %type content is edited in each form mode, and define how the field form widgets are displayed in each form mode.', array('%type' => $type->label())) . '</p>' ;
case 'admin/structure/types/manage/%/display':
$type = entity_load('node_type', $arg[4]);
......
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