Unverified Commit 123f259d authored by Alex Pott's avatar Alex Pott
Browse files

Issue #3260568 by bserem, longwave: Fix "Member has protected visibility" in...

Issue #3260568 by bserem, longwave: Fix "Member has protected visibility" in core profiles reported by PhpStorm

(cherry picked from commit 05604093)
parent f4c710f8
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -35,8 +35,9 @@ function demo_umami_requirements($phase) {
 */
function demo_umami_install() {
  // Assign user 1 the "administrator" role.
  /** @var \Drupal\user\Entity\User $user */
  $user = User::load(1);
  $user->roles[] = 'administrator';
  $user->addRole('administrator');
  $user->save();

  // We install some menu links, so we have to rebuild the router, to ensure the
+2 −1
Original line number Diff line number Diff line
@@ -17,8 +17,9 @@
 */
function standard_install() {
  // Assign user 1 the "administrator" role.
  /** @var \Drupal\user\Entity\User $user */
  $user = User::load(1);
  $user->roles[] = 'administrator';
  $user->addRole('administrator');
  $user->save();

  // Populate the default shortcut set.