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 | |
use Drupal\Core\Routing\RouteMatchInterface; | |
function civipicsync_get_user_picture_path($account) { | |
$pic = $account->user_picture; | |
$path = NULL; | |
if (!$pic->isEmpty()) { |