Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block jptillman

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
jptillman / civipicsync.module
Last active Jun 21, 2018
Drupal8 module for sync'ing profile pic with CiviCRM contact pic
View civipicsync.module
use Drupal\Core\Routing\RouteMatchInterface;
function civipicsync_get_user_picture_path($account) {
$pic = $account->user_picture;
$path = NULL;
if (!$pic->isEmpty()) {
You can’t perform that action at this time.