You are here

public function MassPasswordReset::executeMultiple in Mass Password Change 8

Executes the plugin for an array of objects.

Parameters

array $objects: An array of entities.

Overrides ActionBase::executeMultiple

1 call to MassPasswordReset::executeMultiple()
MassPasswordReset::execute in src/Plugin/Action/MassPasswordReset.php
Executes the plugin.

File

src/Plugin/Action/MassPasswordReset.php, line 71

Class

MassPasswordReset
Provides a Password reset action.

Namespace

Drupal\mass_password_change\Plugin\Action

Code

public function executeMultiple(array $accounts) {

  /** @var \Drupal\user\UserInterface[] $accounts */
  $this->tempStoreFactory
    ->get('mass_password_change')
    ->set('password_reset', $accounts);
}