Skip to content

Instantly share code, notes, and snippets.

Philip Jose' Alonso philalonso

Block or report user

Report or block philalonso

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
View ExampleUpdateUser.php
<?php
use Drupal\user\Entity\User;
// Updating a user is a three step process:
// 1) load the user object to change
// 2) set property/field to new value
// 3) Save the user object.
// This example updates:
// 1) password
You can’t perform that action at this time.