class DeleteNode

Redirects to a node deletion form.

Plugin annotation


@Action(
  id = "node_delete_action",
  label = @Translation("Delete selected content"),
  type = "node",
  confirm_form_path = "admin/content/node/delete"
)

Hierarchy

Expanded class hierarchy of DeleteNode

File

drupal/core/modules/node/lib/Drupal/node/Plugin/Action/DeleteNode.php, line 26
Contains \Drupal\node\Plugin\Action\DeleteNode.

Namespace

Drupal\node\Plugin\Action
View source

Members

Namesort descending Modifiers Type Description Overrides
DeleteNode::$tempStore protected property The tempstore object.
DeleteNode::create public static function Creates an instance of the plugin. Overrides ContainerFactoryPluginBase::create
DeleteNode::execute public function Executes the plugin. Overrides ExecutableInterface::execute
DeleteNode::executeMultiple public function Executes the plugin for an array of objects. Overrides ActionBase::executeMultiple
DeleteNode::__construct public function Constructs a new DeleteNode object. Overrides PluginBase::__construct
PluginBase::$configuration protected property Configuration information passed into the plugin. 1
PluginBase::$pluginDefinition protected property The plugin implementation definition.
PluginBase::$pluginId protected property The plugin_id.
PluginBase::getPluginDefinition public function Returns the definition of the plugin implementation. Overrides PluginInspectionInterface::getPluginDefinition
PluginBase::getPluginId public function Returns the plugin_id of the plugin instance. Overrides PluginInspectionInterface::getPluginId