public function DeleteProfile::__construct in Profile 2 8
Constructs a new DeleteNode object.
Parameters
array $configuration: A configuration array containing information about the plugin instance.
string $plugin_id: The plugin ID for the plugin instance.
mixed $plugin_definition: The plugin implementation definition.
\Drupal\user\PrivateTempStoreFactory $privateTempStoreFactory: The tempstore factory.
Overrides PluginBase::__construct
File
- src/
Plugin/ Action/ DeleteProfile.php, line 47 - Contains \Drupal\node\Plugin\Action\DeleteNode.
Class
- DeleteProfile
- Redirects to a profile deletion form.
Namespace
Drupal\profile\Plugin\ActionCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, PrivateTempStoreFactory $privateTempStoreFactory) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this->privateTempStore = $privateTempStoreFactory
->get('profile_multiple_delete_confirm');
}