function _erl_layouts_select_class_description in Entity Reference with Layout 8
Return the description for the class select mode.
1 call to _erl_layouts_select_class_description()
- erl_layouts_field_widget_third_party_settings_form in modules/
erl_layouts/ erl_layouts.module - Implements hook_field_widget_third_party_settings_form().
File
- modules/
erl_layouts/ erl_layouts.module, line 212 - Contains entity_reference_layout.module.
Code
function _erl_layouts_select_class_description() {
$description = '<p>' . t('The possible classes a layout or region can have. Enter one value per line, in the format key|label.');
$description .= '<br/>' . t('The key is the string which will be used as a class on the element. The label will be used on edit forms.');
$description .= '<br/>' . t('If the key contains several classes, each class must be separated by a <strong>space</strong>.');
$description .= '<br/>' . t('The label is optional: if a line contains a single string, it will be used as key and label.');
$description .= '</p>';
return $description;
}