class EnergyBelowCutoffEvent in Radioactivity 4.0.x
Same name and namespace in other branches
- 8.3 src/Event/EnergyBelowCutoffEvent.php \Drupal\radioactivity\Event\EnergyBelowCutoffEvent
Represents a 'Energy is below the cutoff level' event.
Hierarchy
- class \Drupal\radioactivity\Event\EnergyBelowCutoffEvent extends \Symfony\Component\EventDispatcher\Event
Expanded class hierarchy of EnergyBelowCutoffEvent
See also
rules_entity_presave()
1 file declares its use of EnergyBelowCutoffEvent
File
- src/
Event/ EnergyBelowCutoffEvent.php, line 13
Namespace
Drupal\radioactivity\EventView source
class EnergyBelowCutoffEvent extends Event {
const EVENT_NAME = 'radioactivity_field_cutoff';
/**
* The entity.
*
* @var \Drupal\Core\Entity\ContentEntityInterface
*/
public $entity;
/**
* Constructs the object.
*
* @param \Drupal\Core\Entity\ContentEntityInterface $entity
* The entity.
*/
public function __construct(ContentEntityInterface $entity) {
$this->entity = $entity;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
EnergyBelowCutoffEvent:: |
public | property | The entity. | |
EnergyBelowCutoffEvent:: |
constant | |||
EnergyBelowCutoffEvent:: |
public | function | Constructs the object. |