Open moh-mousa opened 6 years ago
[
"class" => Illustrated::className(),
"attributes" => [
"img" => [
'class' => backend\components\behaviors\illustrated\Illustration::className(),
'aspectRatio' => 1.7777778,
'cropSize' => 900,
'sizeSteps' => 2,
],
],
'directory' => '@frontend/web/uploads/recipe/',
'baseUrl' => '@uploads/recipe',
],
[
"class" => Illustrated::className(),
"attributes" => [
"img" => [
'class' => backend\components\behaviors\illustrated\Illustration::className(), // this
'aspectRatio' => 1.7777778,
'cropSize' => 900,
'sizeSteps' => 2,
],
],
'directory' => '@frontend/web/uploads/recipe/',
'baseUrl' => '@uploads/recipe',
],
Could you please help me with overriding protected randomName function I'm unable to override it.