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(
|
* @ImageEffect(
|
||||||
* id = "image_convert",
|
* id = "image_convert",
|
||||||
* label = @Translation("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 {
|
class ConvertImageEffect extends ConfigurableImageEffectBase {
|
||||||
|
@ -67,7 +67,7 @@ class ConvertImageEffect extends ConfigurableImageEffectBase {
|
||||||
);
|
);
|
||||||
$form['extension'] = [
|
$form['extension'] = [
|
||||||
'#type' => 'select',
|
'#type' => 'select',
|
||||||
'#title' => t('Extension'),
|
'#title' => t('Convert to'),
|
||||||
'#default_value' => $this->configuration['extension'],
|
'#default_value' => $this->configuration['extension'],
|
||||||
'#required' => TRUE,
|
'#required' => TRUE,
|
||||||
'#options' => $options,
|
'#options' => $options,
|
||||||
|
|
Loading…
Reference in New Issue