You are here

public function RabbitHoleBehaviorPluginInterface::performAction in Rabbit Hole 2.x

Same name and namespace in other branches
  1. 8 src/Plugin/RabbitHoleBehaviorPluginInterface.php \Drupal\rabbit_hole\Plugin\RabbitHoleBehaviorPluginInterface::performAction()

Perform the rabbit hole action.

Parameters

\Drupal\Core\Entity\EntityInterface $entity: The entity the action is being performed on.

1 method overrides RabbitHoleBehaviorPluginInterface::performAction()
RabbitHoleBehaviorPluginBase::performAction in src/Plugin/RabbitHoleBehaviorPluginBase.php
Perform the rabbit hole action.

File

src/Plugin/RabbitHoleBehaviorPluginInterface.php, line 25

Class

RabbitHoleBehaviorPluginInterface
Defines an interface for Rabbit hole behavior plugin plugins.

Namespace

Drupal\rabbit_hole\Plugin

Code

public function performAction(EntityInterface $entity);