Commit 4880807b authored by catch's avatar catch
Browse files

Issue #3216106 by paulocs, Gauravmahlawat, guilhermevp, AaronMcHale,...

Issue #3216106 by paulocs, Gauravmahlawat, guilhermevp, AaronMcHale, anmolgoyal74: Add a description to the Extension field in ConvertImageEffect
parent 5dccbedb
Loading
Loading
Loading
Loading
+2 −2
Changes for core/modules/image/src/Plugin/ImageEffect/ConvertImageEffect.php: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -12,7 +12,7 @@
 * @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 @@ public function buildConfigurationForm(array $form, FormStateInterface $form_sta
    );
    $form['extension'] = [
      '#type' => 'select',
      '#title' => t('Extension'),
      '#title' => t('Convert to'),
      '#default_value' => $this->configuration['extension'],
      '#required' => TRUE,
      '#options' => $options,