You are here

protected function ImageStyleItem::allowedValuesDescription in Field Image Style 8

Provides the field type specific allowed values form element #description.

Return value

string The field type allowed values form specific description.

Overrides ListItemBase::allowedValuesDescription

1 call to ImageStyleItem::allowedValuesDescription()
ImageStyleItem::storageSettingsForm in src/Plugin/Field/FieldType/ImageStyleItem.php
Returns a form for the storage-level settings.

File

src/Plugin/Field/FieldType/ImageStyleItem.php, line 118

Class

ImageStyleItem
Plugin implementation of the 'image_style' field type.

Namespace

Drupal\field_image_style\Plugin\Field\FieldType

Code

protected function allowedValuesDescription() {
  $description = '<p>' . t('The possible values this field can contain. Leave empty if you want to allow all values') . '</p>';
  return $description;
}