Commit 4acf770c authored by Alex Pott's avatar Alex Pott
Browse files

Issue #2384535 by rpayanm, fernando_calsa, areke, Sharique: Make the class...

Issue #2384535 by rpayanm, fernando_calsa, areke, Sharique: Make the class variables protected for ImageStyle
parent 66fa3fa9
Loading
Loading
Loading
Loading
+2 −2
Changes for core/modules/image/src/Entity/ImageStyle.php: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -66,14 +66,14 @@ class ImageStyle extends ConfigEntityBase implements ImageStyleInterface, Entity
   *
   * @var string
   */
  public $name;
  protected $name;

  /**
   * The image style label.
   *
   * @var string
   */
  public $label;
  protected $label;

  /**
   * The array of image effects for this image style.
+1 −1
Changes for core/modules/image/src/Tests/ImageAdminStylesTest.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -246,7 +246,7 @@ function testStyle() {
      'Effect with ID %uuid no longer found on image style %style',
      array(
        '%uuid' => $uuids['image_crop'],
        '%style' => $style->label,
        '%style' => $style->label(),
      )));

    // Additional test on Rotate effect, for transparent background.