You are here

public function InvalidBehaviorSettingException::__construct in Rabbit Hole 2.x

Same name and namespace in other branches
  1. 8 src/Exception/InvalidBehaviorSettingException.php \Drupal\rabbit_hole\Exception\InvalidBehaviorSettingException::__construct()

InvalidBehaviorSettingException constructor.

Parameters

string $setting: Rabbit Hole setting name.

File

src/Exception/InvalidBehaviorSettingException.php, line 23

Class

InvalidBehaviorSettingException
Exception for the case of invalid behavior settings.

Namespace

Drupal\rabbit_hole\Exception

Code

public function __construct($setting) {
  parent::__construct();
  $this->setting = $setting;
}