public function EnergyBelowCutoffEvent::__construct in Radioactivity 4.0.x
Same name and namespace in other branches
- 8.3 src/Event/EnergyBelowCutoffEvent.php \Drupal\radioactivity\Event\EnergyBelowCutoffEvent::__construct()
Constructs the object.
Parameters
\Drupal\Core\Entity\ContentEntityInterface $entity: The entity.
File
- src/
Event/ EnergyBelowCutoffEvent.php, line 30
Class
- EnergyBelowCutoffEvent
- Represents a 'Energy is below the cutoff level' event.
Namespace
Drupal\radioactivity\EventCode
public function __construct(ContentEntityInterface $entity) {
$this->entity = $entity;
}