public function RulesMediaEvent::__construct in Scheduler 2.x
Constructs the object.
Parameters
\Drupal\media\MediaInterface $media: The media item which is being processed.
File
- scheduler_rules_integration/
src/ Event/ RulesMediaEvent.php, line 41
Class
- RulesMediaEvent
- Class for all Rules media events.
Namespace
Drupal\scheduler_rules_integration\EventCode
public function __construct(MediaInterface $media) {
$this->media = $media;
}