Issue #3216106 by paulocs, Gauravmahlawat, guilhermevp, AaronMcHale, anmolgoyal74: Add a description to the Extension field in ConvertImageEffect
parent
5dccbedb1b
commit
4880807b11
|
@ -12,7 +12,7 @@ use Drupal\image\ConfigurableImageEffectBase;
|
|||
* @ImageEffect(
|
||||
* id = "image_convert",
|
||||
* label = @Translation("Convert"),
|
||||
* description = @Translation("Converts an image between extensions (e.g. from PNG to JPEG).")
|
||||
* description = @Translation("Converts an image to a format (such as JPEG).")
|
||||
* )
|
||||
*/
|
||||
class ConvertImageEffect extends ConfigurableImageEffectBase {
|
||||
|
@ -67,7 +67,7 @@ class ConvertImageEffect extends ConfigurableImageEffectBase {
|
|||
);
|
||||
$form['extension'] = [
|
||||
'#type' => 'select',
|
||||
'#title' => t('Extension'),
|
||||
'#title' => t('Convert to'),
|
||||
'#default_value' => $this->configuration['extension'],
|
||||
'#required' => TRUE,
|
||||
'#options' => $options,
|
||||
|
|
Loading…
Reference in New Issue