You are here

public function UserBadgesListBuilder::badgesListing in User Badges 8

Provides listing of user badges.

Parameters

\Drupal\user\UserInterface $user: The user account.

Return value

array The block list as a renderable array.

1 string reference to 'UserBadgesListBuilder::badgesListing'
user_badges.routing.yml in ./user_badges.routing.yml
user_badges.routing.yml

File

src/Controller/UserBadgesListBuilder.php, line 77
Contains \Drupal\user_badges\Controller\UserBadgesListBuilder.

Class

UserBadgesListBuilder
Class UserBadgesListBuilder.

Namespace

Drupal\user_badges\Controller

Code

public function badgesListing(UserInterface $user) {
  $this->user = $user;
  return $this->formBuilder
    ->getForm($this);
}