You are here

protected function Dropdown::allowedValuesDescription in Open Social 8.9

Same name and namespace in other branches
  1. 8 modules/custom/dropdown/src/Plugin/Field/FieldType/Dropdown.php \Drupal\dropdown\Plugin\Field\FieldType\Dropdown::allowedValuesDescription()
  2. 8.2 modules/custom/dropdown/src/Plugin/Field/FieldType/Dropdown.php \Drupal\dropdown\Plugin\Field\FieldType\Dropdown::allowedValuesDescription()
  3. 8.3 modules/custom/dropdown/src/Plugin/Field/FieldType/Dropdown.php \Drupal\dropdown\Plugin\Field\FieldType\Dropdown::allowedValuesDescription()
  4. 8.4 modules/custom/dropdown/src/Plugin/Field/FieldType/Dropdown.php \Drupal\dropdown\Plugin\Field\FieldType\Dropdown::allowedValuesDescription()
  5. 8.5 modules/custom/dropdown/src/Plugin/Field/FieldType/Dropdown.php \Drupal\dropdown\Plugin\Field\FieldType\Dropdown::allowedValuesDescription()
  6. 8.6 modules/custom/dropdown/src/Plugin/Field/FieldType/Dropdown.php \Drupal\dropdown\Plugin\Field\FieldType\Dropdown::allowedValuesDescription()
  7. 8.7 modules/custom/dropdown/src/Plugin/Field/FieldType/Dropdown.php \Drupal\dropdown\Plugin\Field\FieldType\Dropdown::allowedValuesDescription()
  8. 8.8 modules/custom/dropdown/src/Plugin/Field/FieldType/Dropdown.php \Drupal\dropdown\Plugin\Field\FieldType\Dropdown::allowedValuesDescription()
  9. 10.3.x modules/custom/dropdown/src/Plugin/Field/FieldType/Dropdown.php \Drupal\dropdown\Plugin\Field\FieldType\Dropdown::allowedValuesDescription()
  10. 10.0.x modules/custom/dropdown/src/Plugin/Field/FieldType/Dropdown.php \Drupal\dropdown\Plugin\Field\FieldType\Dropdown::allowedValuesDescription()
  11. 10.1.x modules/custom/dropdown/src/Plugin/Field/FieldType/Dropdown.php \Drupal\dropdown\Plugin\Field\FieldType\Dropdown::allowedValuesDescription()
  12. 10.2.x modules/custom/dropdown/src/Plugin/Field/FieldType/Dropdown.php \Drupal\dropdown\Plugin\Field\FieldType\Dropdown::allowedValuesDescription()
1 call to Dropdown::allowedValuesDescription()
Dropdown::storageSettingsForm in modules/custom/dropdown/src/Plugin/Field/FieldType/Dropdown.php
Returns a form for the storage-level settings.

File

modules/custom/dropdown/src/Plugin/Field/FieldType/Dropdown.php, line 218

Class

Dropdown
Plugin implementation of the 'dropdown' field type.

Namespace

Drupal\dropdown\Plugin\Field\FieldType

Code

protected function allowedValuesDescription() {
  $description = '<p>' . t('The possible values this field can contain. Enter one value per line, in the format value|label|description.');
  $description .= '<br/>' . t('The value is the stored value. The label and description will be used in displayed values and edit forms.');
  $description .= '<br/>' . t('The description is optional: if a line contains value|label a description will not be shown.');
  $description .= '</p>';
  return $description;
}