Skip to main content
11 events
when toggle format what by license comment
Jul 12, 2016 at 10:26 vote accept Yuseferi
Jun 27, 2016 at 15:49 answer added 4uk4 timeline score: 5
Jun 27, 2016 at 10:29 history tweeted twitter.com/StackDrupal/status/747376280274898944
Jun 27, 2016 at 9:39 comment added Yuseferi @NoSssweat I pas them as variables and in twig template I using them( because I didn't find another solution ) , if you have a solution please post it.
Jun 27, 2016 at 8:21 comment added No Sssweat you didn't try using Twig template?
Jun 27, 2016 at 8:03 comment added Yuseferi @NoSssweat hi, ok, I am waiting for your answer. ( I couldn't wait very much, I did it with ` if(isset($vars['node']) && $vars['node']->getType()=='blog'){ $author = $vars['node']->get('uid')->entity; $vars['author'] = array( 'bio' => isset($author->field_user_bio->value)?$author->field_user_bio->value:NULL, 'img_uri' => isset($author->user_picture->entity->uri->value)?$author->user_picture->entity->uri->value:NULL, 'full_name' => isset($author->field_full_name->value)?$author->field_full_name->value:NULL, ); }` ,do u have better solu.?
Jun 27, 2016 at 3:12 comment added No Sssweat Good question, I found this How do I print/display an image in Drupal 8, using an image style I've cretaed? so give the accepted answer a try or the comment below it, let me know if it works.
Jun 26, 2016 at 17:25 history edited Shawn Conn CC BY-SA 3.0
spelling, & formatting
S Jun 26, 2016 at 9:31 history suggested Nikhil Banait CC BY-SA 3.0
Improved formatting and question.
Jun 26, 2016 at 9:31 review Suggested edits
S Jun 26, 2016 at 9:31
Jun 26, 2016 at 9:23 history asked Yuseferi CC BY-SA 3.0