You are here

protected function CalendarEntry::getUserPictureURL in Content Planner 8

Get the URL of the user picture.

Return value

bool|string

1 call to CalendarEntry::getUserPictureURL()
CalendarEntry::build in modules/content_calendar/src/Component/CalendarEntry.php
Build.

File

modules/content_calendar/src/Component/CalendarEntry.php, line 170

Class

CalendarEntry
Class CalendarEntry.

Namespace

Drupal\content_calendar\Component

Code

protected function getUserPictureURL() {

  // If show user thumb is active.
  if ($this->config
    ->get('show_user_thumb')) {
    return $this
      ->getUserPictureFromCache($this->node->uid, 'content_calendar_user_thumb');
  }
  return FALSE;
}