Commit 4acf770c authored by alexpott's avatar alexpott

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
......@@ -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.
......
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment