You are here

public function RealnameUpdateRealname::execute in Real Name 2.x

Same name and namespace in other branches
  1. 8 src/Plugin/Action/RealnameUpdateRealname.php \Drupal\realname\Plugin\Action\RealnameUpdateRealname::execute()

Executes the plugin.

Overrides ExecutableInterface::execute

File

src/Plugin/Action/RealnameUpdateRealname.php, line 22

Class

RealnameUpdateRealname
Update user real name.

Namespace

Drupal\realname\Plugin\Action

Code

public function execute($account = NULL) {
  realname_update($account);
}