InvalidBehaviorSettingException.php in Rabbit Hole 2.x
Same filename and directory in other branches
Namespace
Drupal\rabbit_hole\ExceptionFile
src/Exception/InvalidBehaviorSettingException.phpView source
<?php
namespace Drupal\rabbit_hole\Exception;
/**
* Exception for the case of invalid behavior settings.
*/
class InvalidBehaviorSettingException extends \Exception {
/**
* Rabbit Hole setting name.
*
* @var string
*/
private $setting;
/**
* InvalidBehaviorSettingException constructor.
*
* @param string $setting
* Rabbit Hole setting name.
*/
public function __construct($setting) {
parent::__construct();
$this->setting = $setting;
}
/**
* Returns invalid setting name.
*/
public function getSetting() {
return $this
->setting();
}
}
Classes
Name | Description |
---|---|
InvalidBehaviorSettingException | Exception for the case of invalid behavior settings. |