You are here

public function BehaviorSettings::setAction in Rabbit Hole 8

Same name and namespace in other branches
  1. 2.x src/Entity/BehaviorSettings.php \Drupal\rabbit_hole\Entity\BehaviorSettings::setAction()

Set the configured action.

Parameters

string $action: The action to save.

Overrides BehaviorSettingsInterface::setAction

File

src/Entity/BehaviorSettings.php, line 111

Class

BehaviorSettings
Defines the Behavior settings entity.

Namespace

Drupal\rabbit_hole\Entity

Code

public function setAction($action) {
  $this->action = $action;
}