function AddEventForm::__construct
Constructs a new event add form.
Parameters
\Drupal\rules\Core\RulesEventManager $event_manager: The Rules event manager.
\Drupal\Core\Entity\EntityTypeBundleInfoInterface $entity_bundle_info: The entity type bundle information manager.
File
-
src/
Form/ AddEventForm.php, line 35
Class
- AddEventForm
- UI form to add an event to a rule.
Namespace
Drupal\rules\FormCode
public function __construct(RulesEventManager $event_manager, EntityTypeBundleInfoInterface $entity_bundle_info) {
$this->eventManager = $event_manager;
$this->entityBundleInfo = $entity_bundle_info;
}