Last active
January 5, 2022 13:46
-
-
Save ticituc/249de76e2ae36ed3f8427b46fc4c2bc9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$viewData = [ | |
'imageLabel' => Setting::where('key', 'image')->first()->label, | |
'imageDefault' => Setting::where('key', 'image')->first()->value, | |
'imageFieldName' => 'image', | |
'image' => $imageModel, | |
]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment