class PermissionsByTermDeniedEvent in Permissions by Term 8.2
Same name and namespace in other branches
- 8 src/Event/PermissionsByTermDeniedEvent.php \Drupal\permissions_by_term\Event\PermissionsByTermDeniedEvent
Class PermissionsByTermDeniedEvent
@package Drupal\permissions_by_term\Event
Hierarchy
- class \Drupal\permissions_by_term\Event\PermissionsByTermDeniedEvent extends \Symfony\Component\EventDispatcher\Event
Expanded class hierarchy of PermissionsByTermDeniedEvent
2 files declare their use of PermissionsByTermDeniedEvent
- AccessCheck.php in src/
Service/ AccessCheck.php - KernelEventListener.php in src/
Listener/ KernelEventListener.php
File
- src/
Event/ PermissionsByTermDeniedEvent.php, line 12
Namespace
Drupal\permissions_by_term\EventView source
class PermissionsByTermDeniedEvent extends Event {
const NAME = 'permissions_by_term.access.denied';
/**
* @var int
*/
protected $nid;
/**
* PermissionsByTermDeniedEvent constructor.
*
* @param int $nid
*/
public function __construct($nid) {
$this->nid = $nid;
}
/**
* @return int
*/
public function getNid() {
return $this->nid;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
PermissionsByTermDeniedEvent:: |
protected | property | ||
PermissionsByTermDeniedEvent:: |
public | function | ||
PermissionsByTermDeniedEvent:: |
constant | |||
PermissionsByTermDeniedEvent:: |
public | function | PermissionsByTermDeniedEvent constructor. |