function theme_safeword_un_editable_path_parts in Safeword 8
Same name and namespace in other branches
- 7 safeword.module \theme_safeword_un_editable_path_parts()
Markup of parts of path that can't be edited via the machine-name.
1 theme call to theme_safeword_un_editable_path_parts()
- safeword_field_widget_form in ./
safeword.module - Implements hook_field_widget_form().
File
- ./
safeword.module, line 561 - Provides a FieldAPI field type, widget, and several formatters for a combined human readable/machine name pair of values. Possible uses include automatic generation of editable pathauto segments, handy Views argument values, and impressing friends.
Code
function theme_safeword_un_editable_path_parts($variables) {
return '<span class="safeword-path-un-editable">' . $variables['path'] . '</span>';
}