You are here

public function AssignBadge::doexecute in User Badges 8

File

src/Plugin/RulesAction/AssignBadge.php, line 36
Contains \Drupal\user_badges\Plugin\RulesAction\AssignBadge.

Class

AssignBadge
Provides a 'AssignBadge Badge' action.

Namespace

Drupal\user_badges\Plugin\RulesAction

Code

public function doexecute(UserInterface $account, array $badges) {

  // Insert code here.
}